Select to view content in your preferred language

Center and Level URL Parameter Not Working in Experience Builder

71
1
Friday
Labels (1)
DeniseJensen_wgfd
New Contributor

We have several maps on our website that uses the center and level url parameter in Web App Builder. I am trying to migrate over to Experience Builder.  From the documentation I am adding ?center=-107.55156,42.999623&level=14 at the end of the experience builder map url and I can’t get it to work. I recently took an instructor-led class and the instructor couldn’t get it to work either. An API passes the lat, long, and zoom level so it would be a major pain to adjust this and use a different parameter.  Is there something I am missing or is there a bug with this url parameter?

0 Kudos
1 Reply
Ke_Xu
by Esri Contributor
Esri Contributor

Hi  DeniseJensen_wgfd,

The URL format is:

https://experience.arcgis.com/experience/<AppId>#<mapWidgetID>=center:<x,y,wkid>,scale:<scaleValue>

The following is the example:

https://experiencedev.arcgis.com/experience/65d18d485a4d4ba1b44666ebba24e583#widget_2=center:-95.073...

 

Thanks,

Ke

0 Kudos