radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
916 stars 410 forks source link

How to set center point of the marker/custom marker to the center of it's image? #143

Closed YuryKomar closed 5 months ago

YuryKomar commented 5 years ago

I use custom marker's image and rotate it through the path. Path/rout is drawn on map in the SeaArea (ship) so I want to shift/offset the marker to it's center point but not as it set by default: top=-height, left=-(width/2)... Can you show me example of how to do it and which Event to use to make it drawn automatically with this change... More over, to add rotation by setting angle in the same code.

Thanks.

YuryKomar commented 5 months ago

Case closed. It was simple to do.