how to pan the map in dotspatial

Mar 11, 2011 at 1:06 PM

Dear all,

I am a newly begginer with a simple question.

what is the code for implementing map panning in Dotspatial. The tutorial taugt us how to zoom in and zoom out, but how to pan the map in map control window? many thanks.

Regards

Developer
Mar 11, 2011 at 1:47 PM

Take a look at DotSpatial.Controls\DotSpatial.Controls\MapFunctionPan.cs.  These kind of things are best done via the Map Functions.

Kyle

Mar 11, 2011 at 2:20 PM
set the map's functionmode to pan just like the zoomin and zoomout.

2011/3/11 isxhy <notifications@codeplex.com>

From: isxhy

Dear all,

I am a newly begginer with a simple question.

what is the code for implementing map panning in Dotspatial. The tutorial taugt us how to zoom in and zoom out, but how to pan the map in map control window? many thanks.

Regards

Read the full discussion online.

To add a post to this discussion, reply to this email (DotSpatial@discussions.codeplex.com)

To start a new discussion for this project, email DotSpatial@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--

曹思聪 欢迎光临 乐学博客

Mar 11, 2011 at 3:37 PM

Many thanks. I did that. really convenient. Thank you.