amay077 / Xamarin.Forms.GoogleMaps

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

Custom Pins have too much padding to make the Pins very close together in proximity with Click Event #788

Open linda-dge opened 2 years ago

linda-dge commented 2 years ago

VERSIONS

PLATFORMS

ACTUAL BEHAVIOR

I have a custom Blue pin that I load a 72px X 72px icon into using BitMapDescriptor.FromBundle I need to click very close to this pin, not on top of the pin, and have an existing Yellow pin move to this location.

Using Map click - I cannot click very close to the pin. It is always about 25-50 px away before it recognizes I didn't click the pin. Using Pin click - I am not even on the blue pin and it will move the yellow pin on top of the blue pin. Even though I clicked about 25 px away.

It seems like there is padding around the pin but I don't know how to get rid of it.

ACTUAL SCREENSHOTS/STACKTRACE

EXPECTED BEHAVIOR

I want to somehow make the blue pin blend into the map so it doesn't matter how close I am when I click it will place the yellow pin at the point I clicked.