示例#1
0
 public void Dispose()
 {
     if (m_tileSchema != null)
     {
         m_tileSchema.Dispose();
         m_tileSchema = null;
     }
 }
 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 void Dispose()
 {
     if (_tileSchema != null)
     {
         _tileSchema.Dispose();
         _tileSchema = null;
     }
 }
 public GoogleV3TileProvider(GoogleV3TileSchema tileSchema, string referer = "http://localhost")
 {
     m_referer = referer;
     m_tileSchema = tileSchema;
 }
 public void Dispose()
 {
     if (m_tileSchema != null)
     {
         m_tileSchema.Dispose();
         m_tileSchema = null;
     }
 }
 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);
 }
示例#7
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);
 }
示例#8
0
 public GoogleV3TileProvider(GoogleV3TileSchema tileSchema, string referer = "http://localhost")
 {
     m_referer    = referer;
     m_tileSchema = tileSchema;
 }