Select to view content in your preferred language

Zoom to Feature in Embedded Map

12946
11
Jump to solution
06-20-2016 06:47 AM
JacobDeuel
Emerging Contributor

I am providing a web map to my co-worker (website administrator) for a project.  The location of the project is dynamic and I need the embedded map to zoom to a feature instead of a set extent.  Has anyone successfully done this?

Tags (1)
0 Kudos
11 Replies
NataliyaLys
Frequent Contributor

I am sorry, I gave you  a link to my Hub site, instead of specific page in the site where i have the map embedded:

https://dchd-air-quality-dogis.opendata.arcgis.com/pages/site-blair 

0 Kudos
KellyHutchins
Esri Frequent Contributor

Ok I see that the url param is included. But same issue with this url. Instead of using the organization url (https://jsapi.maps.arcgis.com) switch to www.arcgis.com so it's not using an org specific url. 

https://jsapi.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&site=Blair

https://www.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&site=Blair

or if not www at least switch it to your org url which I think is this? 
https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&site...

0 Kudos