albert-heijn-technology / platform_maps_flutter

A Flutter package to provide the native maps to Android/iOS
BSD 2-Clause "Simplified" License
78 stars 65 forks source link

Custom marker icon placement point #16

Closed fbazbo closed 2 years ago

fbazbo commented 4 years ago

It seems like the marker icon is always placed by the center if you use a custom marker icon. I know there's a way to control the relative placement point for both Google maps API and IOS, so can we get that exposed via this API?

LuisThein commented 3 years ago

I will look into it 👍

fbazbo commented 3 years ago

Also, it seems that for Google Maps the custom marker is placed by the center-bottom, while IOS places by the exact center. And the same scaling factor for both map types makes the Google marker significantly larger than the equivalent on the IOS map

LuisThein commented 3 years ago

I fixed the placement of the markers to be the same. I'm looking into how to make the exact placement point customizable.

JoeCiou commented 3 years ago

@LuisThein The placement point seems can be customized already by the property "anchor" on Apple's Annotation or Google's Marker, could you open it from Marker on the project?