AnsweredAssumed Answered

Problems with center and marker URL parameters

Question asked by mattias_j on Feb 17, 2016
Latest reply on Mar 2, 2016 by khutchins-esristaff

The center and marker URL parameters doesn't work for me with the embedded map viewer.

The map doesn't center where it's supposed to, it seems to be centering in the middle of my web map regardless of the coordinates I'm using.
I tried to create a web app with web app builder and with that app the URL-parameters works so that's my work around for now, but why doesn't it work with the embedded viewer?

 

This works:

http://oskarshamn.maps.arcgis.com/apps/webappviewer/index.html?id=7612462e981a457794bd936d4e9549ad&marker=147290,6349306,3010&level=7

 

This doesn't:

http://oskarshamn.maps.arcgis.com/apps/Embed/index.html?webmap=0fe9b350b5444a07bca12b1666ae8c42&marker=147290,6349306,30…

 

with marker you don't have to use center, but I've tried adding &center=147290,6349306,3010 as well but it's the same. I've also tried using non projected coordinates but it's also the same.

 

EDIT: Forgot to mention that the marker is placed correctly in both cases, but the centering doesn't work with the embedded viewer.

 

I could just settle with my web app, but it's a little bit slower and with the embedded viewer there's no popup for the marker if I just pass the coordinates, and that's what I want in this case. The web App shows an empty PopUp, anyone knows how to disable the popup for an URL parameter marker using Web AppBuilder for ArcGIS??

Outcomes