Zum Hauptinhalt gehen

Run Print Template (Operation)

Kommentare

3 Kommentare

  • Permanently deleted user

    Hi to all

    just hoping for an update on this.

    I would still like information on these option when accessed via the REST endpoint as seen below:

    /customer/servlet/servlet.FileDownload?file=00P6000000eltjIEAQ

    I am consuming the endpoint directly rather than just via one of the Viewers (SL or HTML5) and need to be able to:

    • turn off labels on a layer
    • add custom graphics to simulate a selected feature

    A layer definition looks something like this:

    {\"mapServiceID1\":{\"layerID1\":\"LAYERDEF\",\"layerID2\":\"LAYERDEF\"},\"mapServiceID2\":{\"layerID1\":\"LAYERDEF\"}}

    (from an error message prompted by putting in an invalid string)

    ie  layerDefinitions={"6":{"10":"UNITID = 'WL164803'"}}

    where 6 = map service id in the site

    and 10 = layer id within the map service

     

    Any suggestions would be much appreciated while I continue to hunt for further information.

    The rest of the parameters are clearly described

    Regards

    Ralph Price

    0
  • Permanently deleted user
    Hi Victoria

     

    I still need some help with this, particularly the 'Custom Graphics' parameter?

     

    What would be a valid piece of JSON that could be used?

     

    Thanks

     

    Ralph Price
    0
  • Nico Burgerhart
    Example of use of customGraphics parameter: customgraphics = "{""layers"": [{""elements"":[ {""geometry"":"& geometry1Line.ToJson().Replace("}","") &",""spatialReference"":28992},""symbol"":{""color"":[0,0,255,255],""width"":1,""type"":""esriSLS"",""style"":""esriSLSSolid""}}]}]}"

     

     
    0

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