This project has moved. For the latest updates, please go here.

ZoomToBox is moving...

Topics: SharpMap v0.9 / v1.x
Oct 7, 2009 at 8:12 AM
Edited Oct 7, 2009 at 11:34 AM


I use v0.9 SharpMap (last updates).

I wrote that code in order to zoom on points added in LayerNMEA :

  Box = LayerNMEA.Envelope;


Layer is well centered, but 1 second later, it moves by itself and becomes not centered anymore...

Have you got any Idea ? I really don't understand...




Oct 9, 2009 at 8:02 AM


I've just found out what is the problem : I open a FolderDialog window to ask user to choice a file.

When file is chosen by double clik, SharpMap takes 2nd click as a Click Pan for the map.


So, is there a solution not SharpMap to take this 2nd click ?

I tried to disable Pan or Deactivate mapImage during file choice, but problem is still present.


Have you got any idea please ?