Zum Hauptinhalt gehen

getLayerUrl

Kommentare

2 Kommentare

  • Permanently deleted user
    Hi Marc, 

     

    I'm not sure how you are referencing the layer to use the "getLayerURL()" method but if you use the "Get Map Service Info" activity and fill in the map service ID and layer name, it will automatically generate the map service URL and layer ID for you. So all you need to do now is use the following string to retrieve the REST endpoint:

     

    mapServiceURL + "/" + layerID

     

    I hope this helps. 

     

    Carmen
    0
  • John Nerge
    You can use Map Service Replacement Token {MapServiceUrl} in your feature description or long description to show the REST endpoint for the layer.
    0

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