I am trying to write code that centers the map on ....

Anonymous
06-19-2002, 04:18 AM
I am trying to write code that centers the map on screen where the user clicks. That is, if the user clicks on the top, left part of the client area of the map, that part is then automatically centered in the client area.

Any ideas?
Thanks in advance
Paul.

Eric Frost
06-19-2002, 04:18 AM
You could have the user add a pushpin, then use the .GoTo method to recenter on that location, and finally, delete the pushpin if you don't need it. - Eric

 
Web mp2kmag.com
mapforums.com