gallant1

Can I pass Object ID in the web address and zoom to it.

Discussion created by gallant1 on Jan 10, 2012
Latest reply on Jan 10, 2012 by stevel
I normally use the Silverlight SDK so I understand the map layers and the QueryTask and zooming to the returned features. What I would like to do is have a URL of a java script map that if I pass it the VALUE of a feature in a layer it would open it and zoom to it. I would like a URL something like this "http://myarc.server.com/map?StateName=Texas"

In the above example the map would open and then zoom in to the state with the Name = Texas. Is this even possible in java script and if so is there code to show how to achieve this.

Thanks for the help,
Craig

Outcomes