0

Is there anyway to customize the geolocator to show the custom co-ordinate we are given, using customrenderer or anything.

Whenever geolocation button clicked it should move to the custom co-ordinate and zoom level we given. Thanks

Riyas
  • 475
  • 1
  • 8
  • 27

1 Answers1

0

You can use this:

void MoveToRegion(Position position) {
     Device.BeginInvokeOnMainThread(() => {
                                               Map.MoveToRegion(MapSpan.FromCenterAndRadius(position, Distance.FromKilometers(1)));
                                          });
}
Artem Tishchenko
  • 330
  • 1
  • 13