public void OnMapReady(GoogleMap map)         //called after onresume
        {
            mapLoaded = true;
            map.UiSettings.ZoomControlsEnabled = true;
            map.SetPadding(0, (int)(42 * pixelDensity), 0, 0);

            map.MapType = (int)Settings.LocationMapType;
            if (Settings.LocationMapType == GoogleMap.MapTypeNormal)
            {
                MapStreet.SetBackgroundResource(Resource.Drawable.maptype_activeLeft);
                MapSatellite.SetBackgroundResource(Resource.Drawable.maptype_passiveRight);
            }
            else
            {
                MapStreet.SetBackgroundResource(Resource.Drawable.maptype_passiveLeft);
                MapSatellite.SetBackgroundResource(Resource.Drawable.maptype_activeRight);
            }
            MapStreet.Visibility    = ViewStates.Visible;
            MapSatellite.Visibility = ViewStates.Visible;

            thisMap = map;
            if (!(locationList is null) && locationList.Count > 0)
            {
                SetMap();
            }
        }
 private void MapSatellite_Click(object sender, EventArgs e)
 {
     if (mapLoaded)
     {
         thisMap.MapType = GoogleMap.MapTypeHybrid;
         MapStreet.SetBackgroundResource(Resource.Drawable.maptype_passiveLeft);
         MapSatellite.SetBackgroundResource(Resource.Drawable.maptype_activeRight);
     }
 }