This project is read-only.

How to obtain the zoomed area

Jan 23, 2013 at 3:38 PM
Edited Jan 24, 2013 at 11:17 AM

Hi there,

I'am trying to replace my mapwindow OCX code with the DotSpatial functionality. So far so good, but one thing keeps me busy. In order to use our WMS server I have to calculate a scalehint (filter layers) and request for the correct "BBOX". For both I need the extent of the zoombox area. It seems the ViewExtentsChanged event does not deliver it. Don't know exactly why not (or what I'am missing).  Can I access the zoombox's extent or is there an alternative way to get the correct extent?

Thanks in advance


Blind spot; solved issue. Was using Map.Extent instead of ViewExtent.

Now, how to remove this message (other than empty).?