POST
|
I'm having issues with point maker symbols being rotated in an ArcGISDynamicMapServiceLayer based on a field in the data. The server sometimes will not render with the rotation and then upon a zoom or pan it will start to rotate again. My symbols will also never rotate if printed. This only happens with our 10.5 services. Anyone else having this issue?
... View more
08-18-2017
09:25 AM
|
0
|
0
|
348
|
POST
|
esriConfig.defaults.io.postLength = 1; Nicolas, I found that setting the postLength to 1 (or any number smaller than your url) will force a post for all layers and tasks without using the proxy. I don't see this documented anywhere but I do see in the api source code its checking this to determine to make a post. When this happens, your request to the server comes back as some json with a url to an image. The api automatically does another request to get this image and add it to the map (sorta like print task). If you are using https, another problem occurs because the url you get back from the first request is in http (so you'll get mixed content warnings or errors). I had to create a custom ArcGISDynamicMapServiceLayer using the createSubclass method and alter the getImageUrl function to swap it out to https. I don't love it but its better than not working... I have a ticket open with ESRI but so far they are just telling me to use the proxy... I'm also really surprised more folks aren't having the same problem. Maybe large layer defs and using https aren't an issue for most folks?
... View more
08-16-2017
06:59 AM
|
1
|
2
|
405
|
POST
|
Hi Nicolas, Did you ever find a solution to this issue? I'm experiencing the same problem and also just being directed to use the proxy.
... View more
08-14-2017
05:15 PM
|
0
|
4
|
405
|
Title | Kudos | Posted |
---|---|---|
1 | 08-16-2017 06:59 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|