URL Extent Parameter?

5492
3
09-17-2013 07:42 AM
brettangel
Occasional Contributor II
I stumbled across a blog that discuss using xy minmax values as url parameters.  First, is this possible with Silverlight?  If so, can someone shove me in the right direction.  I assume the url would look something like this
http://blahserver/Apps/test&Extent=xMin,yMin,xMax,yMax


Thanks,

Brett
0 Kudos
3 Replies
brettangel
Occasional Contributor II
I stumbled across a blog that discuss using xy minmax values as url parameters.  First, is this possible with Silverlight?  If so, can someone shove me in the right direction.  I assume the url would look something like this
http://blahserver/Apps/test&Extent=xMin,yMin,xMax,yMax


Thanks,

Brett


That was easy. 
From this
http://blahserver/Apps/test&Extent=xMin,yMin,xMax,yMax

to this
http://blahserver/Apps/test/index.htm?Extent=xMin,yMin,xMax,yMax
0 Kudos
MichaelVolz
Esteemed Contributor

Would this same technique work in a custom javascript api application?

I tried this technique but the application still zooms to the default extents of a county if I type in coordinates at the end of the url that are in a zoomed-in area of the county.  Is there any special coding needed to obtain this functionality in the javascript api?

0 Kudos
DidarBultanov
New Contributor II
0 Kudos