amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 346 forks source link

When Pin's Icon is set to another value, Pin's Anchor is reset to default (0.5f, 1f), and can't be overridden. #606

Closed KortVea closed 5 years ago

KortVea commented 5 years ago

VERSIONS

PLATFORMS

ACTUAL BEHAVIOR

  1. Geometries such as polygons, single pins, polylines are draw on the map.
  2. When a geometry is clicked, the stylings such as pin(fromBundle), StrokeWidth, StrokeColor, FillColor are changed.
  3. Everything works except the anchor for the pins on those geometries. They're shifted, or should I say they use their default value of (0.5f, 1f). Setting it doesn't make a difference. Debug process shows the anchor to be 0.5f, 0,5f which was the value I have set, the map shows the same as 0.5f, 1f.

EXPECTED BEHAVIOR

Pin.Anchor can be changed, and should take effect.