Pan event like google map

Hi everyone. I want to write code to implement pan event like googleMap. It means I only press left mouse and hold the program swich mouse mode to pan event.
Can you help me? Thanks a lot

Have you tried the Pan Tool? Use this code:
private void btnPan_Click(object sender, EventArgs e)
{
axMap1.CursorMode = MapWinGIS.tkCursorMode.cmPan;
}
Is that what you mean?
Hope it works for you.

1 Like

thanks for your answer. I solved this problem. thanks a lot

This topic was automatically closed after 14 days. New replies are no longer allowed.