Show shape in map center!

Apr 8, 2016 at 4:15 PM
Edited Apr 16, 2016 at 12:46 PM
With Win32 API "sendmessage" from my GIS app to MapWindow app is sent datastructure (x, y, name, ...,) of particular shape. I want to show this shape in the center of the mapwindow map.

I need some brief instructions on where in the mapwindow app to catch this datastruc and how to call "mapcenter" function? How to use definition for "map"?

Regards, Vojko
Coordinator
Apr 17, 2016 at 10:13 AM
Hi Vojko,

Are you using MapWinGIS (the ocx) in your custom control or are you developing a plug-in for MapWindow5.
This forum is for the latter.
The MapWinGIS discussions are at https://mapwingis.codeplex.com/discussions

On this page you can read all about the zoom options in MapWinGIS:
http://www.mapwindow.org/documentation/mapwingis4.9/group__map__interaction.html

Regards,

Paul