示例#1
0
 public Task SetMapTypeId(string id, MapTypeId mapTypeId)
 {
     return(_jsRuntime.JsonNetInvokeAsync <int>(
                "googleMapJsFunctions.setMapTypeId",
                id,
                mapTypeId));
 }
 public GoogleV3TileSource(string googleClientID, string googleChannel, string baseUrl, MapTypeId mapType)
 {
     _tileSchema = new GoogleMaps.GoogleV3TileSchema(googleClientID, googleChannel, baseUrl, mapType);
     if (!string.IsNullOrEmpty(baseUrl))
         _googleMapsTP = new GoogleMaps.GoogleV3TileProvider(_tileSchema);
     else
         _googleMapsTP = new GoogleMaps.GoogleV3TileProvider(_tileSchema, baseUrl);
 }
 public Task SetMapTypeId(MapTypeId mapTypeId)
 {
     return(JsRuntime.InvokeWithDefinedGuidAndMethodAsync <object>(
                "googleMapJsFunctions.invoke",
                DivId,
                "setMapTypeId",
                mapTypeId));
 }
示例#4
0
 public Task SetMapTypeId(MapTypeId mapTypeId)
 {
     return(_jsObjectRef.InvokeAsync("setMapTypeId", mapTypeId));
 }
 public GoogleV3TileSource(MapTypeId mapType)
     : this(null, null, null, mapType)
 {
 }
示例#6
0
文件: Map.cs 项目: CodeFork/Serenity
 public void SetMapTypeId(MapTypeId mapTypeId)
 {
     throw new NotImplementedException();
 }
示例#7
0
 public void SetMapTypeId(MapTypeId mapTypeId)
 {
     throw new NotImplementedException();
 }
 public GoogleV3TileSource(string googleClientID, string googleChannel, string baseUrl, MapTypeId mapType)
 {
     m_tileSchema = new GoogleV3TileSchema(googleClientID, googleChannel, baseUrl, mapType);
     m_googleMapsTp = !string.IsNullOrEmpty(baseUrl) ? new GoogleV3TileProvider(m_tileSchema) : new GoogleV3TileProvider(m_tileSchema, baseUrl);
 }
示例#9
0
 public GoogleV3TileSource(MapTypeId mapType)
     : this(null, null, null, mapType)
 {
 }
示例#10
0
 public GoogleV3TileSource(string googleClientID, string googleChannel, string baseUrl, MapTypeId mapType)
 {
     m_tileSchema   = new GoogleV3TileSchema(googleClientID, googleChannel, baseUrl, mapType);
     m_googleMapsTp = !string.IsNullOrEmpty(baseUrl) ? new GoogleV3TileProvider(m_tileSchema) : new GoogleV3TileProvider(m_tileSchema, baseUrl);
 }