Is there a way to use a different pushpin for maptips?
I want to be able to use a different color pushpin (hopefully blue) for maptips vs. identify results (the identify results can keep the red pushpin). Is there an easy way to do this in GTX 4.8/4.9 (GVH 2.9/2.10)?
Thanks!
0
-
Hi Michael,
It is not so easy to do this out of the box. Both the map tip and the identify function reference the same pushpin image, so if you change one, the other changes too. The pushpin image can be changed in the desktop.json.js for your viewer here:
{
"moduleName": "Pushpins",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.pushpins.PushpinsModule",
"configuration": {
"pushpinsEnabled": true,
"pushpinsRemainVisible": true,
"pushpinMarkerUri": "Resources/Images/Pushpins/map-marker-red-32.png",
"pushpinMarkerWidth": 32,
"pushpinMarkerHeight": 32,
"offsetX": 0,
"offsetY": 16,.....
and the file is stored locally here: C:\inetpub\wwwroot\YOURVIEWER\Resources\Images\Pushpins
If you would like the ability to change the pushpins for map tips and identify independently of each other, please add a case for this in our Ideas section (https://support.geocortex.com/GSCIdeas?c=09a6000000008RsAAI&filter=1&categ=all&sub-nav=ideas&main-nav=essentials&page=1) . The more votes an idea gets, the more chance it has of being implemented.
Thanks,
Marion.0
Please sign in to leave a comment.
Comments
1 comment