Zum Hauptinhalt gehen

Is there a way to use a different pushpin for maptips?

Kommentare

1 Kommentar

  • Permanently deleted user
    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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.