URL parameter marker not working with saved map

179
2
Jump to solution
2 weeks ago
MatthewCory
New Contributor

Hi, all. I am trying to open a saved map and place a marker by X,Y using URL parameters. When I pass the saved map ID it does not show the marker. If I use the same X,Y but not use the saved map (just open a new map) it places the marker and in the correct spot. I have tried about everyway that I can think of including passing the WKID. When passing the webmap ID it shows the layers and everything correctly just doesn't add the marker. This isn't a shared map otherwise I would post exactly what I am putting in the URL, but I will put "<masked>" in  the ID.

https://storycogis.maps.arcgis.com/apps/mapviewer/index.html?webmap=<masked>?marker=-93.397070;41.90...

Any help is greatly appreciated.

Matt

 

0 Kudos
1 Solution

Accepted Solutions
JeffSilberberg
Occasional Contributor III

May be as simple as replacing that second question mark ? with an ampersand &.  

 

 

View solution in original post

0 Kudos
2 Replies
JeffSilberberg
Occasional Contributor III

May be as simple as replacing that second question mark ? with an ampersand &.  

 

 

0 Kudos
MatthewCory
New Contributor

You were correct! Thank you! I am just learning the url parameters and didn't even think of that. Thank you again.

 

0 Kudos