/// <summary>
 /// Sets the type of the map.
 /// </summary>
 /// <param name="mapType">Type of the map.</param>
 public void SetMapType(GoogleMapTypes mapType)
 {
     this.MapType = mapType;
 }
Beispiel #2
0
        public async Task SetMapTypeAsync(GoogleMapTypes googleMapType)
        {
            await CheckJsObjectAsync();

            await _mapsJs.InvokeVoidAsync("setMapType", MapContainerId, googleMapType.ToString().ToLower());
        }