Android.Gms.Maps.GoogleMap.AddTileOverlay(Android.Gms.Maps.Model.TileOverlayOptions)

Here are the examples of the csharp api class Android.Gms.Maps.GoogleMap.AddTileOverlay(Android.Gms.Maps.Model.TileOverlayOptions) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: TK.CustomMap
Source File: TKCustomMapRenderer.cs
void UpdateTileOptions()
        {
            if (_tileOverlay != null)
            {
                _tileOverlay.Remove();
                _googleMap.MapType = GoogleMap.MapTypeNormal;
            }

            if (FormsMap == null || _googleMap == null) return;

            if (FormsMap.TilesUrlOptions != null)
            {
                _googleMap.MapType = GoogleMap.MapTypeNone;

                _tileOverlay = _googleMap.AddTileOverlay(
                    new TileOverlayOptions()
                        .InvokeTileProvider(
                            new TKCustomTileProvider(FormsMap.TilesUrlOptions))
                        .InvokeZIndex(-1));
            }
        }