Select to view content in your preferred language

Zoom to polygon or point from URL parameters or a Query String

970
2
01-24-2013 03:59 AM
KristenJones1
Occasional Contributor
I have a separate external web application with a list of properties that I need to send it's Property ID to a map that will zoom to and perhaps open the InfoWindow of that polygon or point. So for example I would open the webmap with the URL like....  www.mydomain.com/MyWebMap.aspx?ID=1234  and then have the API use the ID 1234 to query and zoom directly to that polygon (But still have all the other polygons on that map to move around and identify). Can any one point me on where to even start to figure out how to do this or an example?

Thanks!
Jason
0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor
Hi Jason,

This sample shows how to select features using url parameters and should help you get started. 

http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/exp_history
0 Kudos
KristenJones1
Occasional Contributor
Thanks, I never even looked through the HTML5 section, seems they hide examples everywhere!
0 Kudos