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 347 forks source link

Circle on the map with zoom dynamically set #719

Open dalton5 opened 4 years ago

dalton5 commented 4 years ago

Hi,

I setup a circle radius binded to a slider.

It works perfectly. However when the zoom is too big the circle is bigger than the visible region.

I wanted to use the code below but I don't know how to get the bounds of the circle.

Could you help?

My code:

await map.MoveCamera(CameraUpdateFactory.NewBounds(new Bounds(new Position(circle, ),new Position(,), 10));