How to obtain the zoomed area

Jan 23, 2013 at 2:38 PM
Edited Jan 24, 2013 at 10: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

Edit;

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

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