Set Map Extent Not Working in Chrome
Hi, I have a startup workflow that uses the SetMapExtent activity. It works in IE, Edge, FF but fails to zoom to the extent in Chrome. With debug on for the activity, the extent coordinates show correctly. Stranger still, if I have debug on the activity then also works in Chrome?
Here's an example:
https://maps.squamish.ca/mobile/?viewer=dsapps&queryLayerMapServiceId=2&queryLayerName=DP&query=DS_Project_Number%3D%272018-78%27
0
-
I've seen some issues related to loading speed of the viewer. Some browsers would (sometimes) respond in a different way than others. Possibly the viewer is still busy zooming to it's initial extent when the Set Map Extent command is invoked.
You could try to insert an External Delay activity just before the Set Map Extent. If it works, it's probably a timing issue. Unfortunately, I don't know of a workaround. Having a delay is not ideal, and may not even work in all cases, e.g. when the network is slow, or on a slow PC.0 -
Thanks! This workaround helped. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer