VDS Technologies

 

Get Extents of Current Zoom Level after Zooming and Panning

11/6/2012 1:24:48 AM
Total Posts 11

Get Extents of Current Zoom Level after Zooming and Panning

Hello,

How does one get the coordinates of the current visible extents. When I use map.Extent, its the same regardless of the zoom level or the panning. I am only looking for the extents of the rectangle that is currently visible after zooming or panning. 

Thank you

11/6/2012 9:46:08 AM
MVP
Total Posts 323

Re: Get Extents of Current Zoom Level after Zooming and Panning

Try to query the extent in the Page_LoadComplete event.

The Page_Load event is for initializing map controls.

11/7/2012 7:01:21 AM
Total Posts 11

Re: Get Extents of Current Zoom Level after Zooming and Panning

Thank you.