Select to view content in your preferred language

using URL parameters (marker, scale or level) with Experience Builder

95
3
Jump to solution
15 hours ago
JulieEdwards
Occasional Contributor

Hello, I am trying to use URL parameters with Experience Builder.  All I want to do is use marker and scale or level to add a marker on the map and zoom to it but I'm struggling to understand the instructions and cannot find any examples that help. 

This is a simple map, I want to zoom to coordinates 349225, 312799 and place a marker (British National Grid coordinates):

https://experience.arcgis.com/experience/af7eb36e17154f96a38b5982980f7aa3

Can anyone advise please?

 

0 Kudos
1 Solution

Accepted Solutions
MappyIan
Frequent Contributor

Hi @JulieEdwards, Experience Builder URL parameters are documented here: https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm 

I had a quick play and the URL below will add a marker at the coordinates you specify above, centre the map on the same coordinates, and set it to a scale of 1:2500:

https://experience.arcgis.com/experience/af7eb36e17154f96a38b5982980f7aa3#widget_1=marker:349225%2C3... 

Hope this helps - Ian.

View solution in original post

3 Replies
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/experience-builder-tips-and-tricks/finding-url-parameters-the-easy-way...

The best way to find URL Parameters is to use the Share Widget. Get your Map just the way you like it and the link in the Share Widget should include all the data.

GIS Developer
City of Arlington, Texas
MappyIan
Frequent Contributor

Hi @JulieEdwards, Experience Builder URL parameters are documented here: https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm 

I had a quick play and the URL below will add a marker at the coordinates you specify above, centre the map on the same coordinates, and set it to a scale of 1:2500:

https://experience.arcgis.com/experience/af7eb36e17154f96a38b5982980f7aa3#widget_1=marker:349225%2C3... 

Hope this helps - Ian.

JulieEdwards
Occasional Contributor

Thank you, that's exactly what I needed 😊