Custom bitmap offset?

Topics: Help
Aug 22, 2013 at 9:50 PM
Edited Aug 23, 2013 at 5:45 AM
Hello all,

I am using a 32x32 pixels image for a custom marker but I need the marker to be placed in the CENTER of the icon and not in the corner. How can I set an offset so that the bitmap's center is on the marker's location?

Thanks for any help!
Aug 22, 2013 at 10:05 PM
When working with Google Maps online, this can be done via this code:

anchor: new google.maps.Point(16, 34)

Is there a similar function in GMap.NET?
Aug 23, 2013 at 5:44 AM
Edited Aug 23, 2013 at 5:45 AM
Figured it out...

Here it is for those that might have the same issue:

flightTrackerMarker.Offset = new System.Drawing.Point(-16, -16);