Aller au contenu principal

Tracking dot configuration

Commentaires

1 commentaire

  • Jack Basha

    Hi Jeff, this is Jack from the Mobile team here hoping to answer your question. Our apologies for the time it took for us to get to your post.

    This actually can be done, in case you haven't found an answer already, using the geolocation.set-location-symbol command. This command allows you to customize how the gelocation symbol looks by providing a few parameters.

    /**
     * The color to use for the location marker's fill and the accuracy circle's
     * outline.
     */
    color?: Color | ColorJson | string;
    
    /**
     * The symbol to use for the outline of the location marker.
     */
    outline?: SimpleLineSymbol;
    
    /**
     * The size to use for the location marker.
     */
    size?: number;
    
    /**
     * The style to use for the location marker. Valid values are: circle,
     * cross, diamond, square, triangle and X.
     */
    style?: string;

     

    In case these parameters look confusing, here's a working sample passed as command parameter in a Workflow.

    ={"style":"Circle","color":"pink","size":0, "outline":{"color":[0,0,255,255],"width":2.5}}

     

    This is the entire Workflow. You can save the following JSON in a JSON file and import it in Workflow, then add it to a VSM app and click on it:

    {"_properties":{"isServerWorkflow":false},"components":[{"id":2,"steps":[{"id":3,"inputs":{},"position":"0,0","purpose":"start","title":"Start","transitions":[{"id":5,"inputs":{},"position":"90,60 90,110","target":{"id":4}}]},{"action":"gcx:wf:app::RunCommand","id":4,"inputs":{"commandName":"geolocation.set-location-symbol","commandParameter":{"accessors":[],"annotations":[],"code":"{ \"style\": \"Circle\", \"color\": \"pink\", \"size\": 0, \"outline\": { \"color\": [0, 0, 255, 255], \"width\": 2.5 } }","source":"{\"style\":\"Circle\",\"color\":\"pink\",\"size\":0, \"outline\":{\"color\":[0,0,255,255],\"width\":2.5}}"}},"position":"-30,110","title":"Run Command"}]}],"deploymentConfig":{"supportedApps":{"VSM":true}},"designerVersion":"5.41.0+34","licenseInfo":{"licenseeId":"88cb61d6-af47-9b3e-5181-ed674c4c0815"},"start":{"id":3}}

     

    You should see a result similar to the following. Note there is a small shadow still remaining where the tracking dot is supposed to be:

     

    I just put this together as a quick demo in case you're still searching for an answer. I am happy to delve further into this or ask one of our support team members to help you further on this. There might be a configuration that hides it entirely.

    Please do not hesitate to reach out with any further questions or inquires.

    0

Vous devez vous connecter pour laisser un commentaire.