Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

Edited Unassigned: Google Hybrid Tiles [26008]

$
0
0
I am trying to use the Google Hybrid tiles in a VB .Net VS2013 application. I find there are areas that do not display the tiles, Open Streets and Google Maps seem to work fine. Using this code, half of the map displays the tiles and the other does not. Any input would be greatly appreciated.

Dim eExt As New MapWinGIS.Extents()

AxMap1.Projection = tkMapProjection.PROJECTION_GOOGLE_MERCATOR
AxMap1.TileProvider = tkTileProvider.GoogleHybrid

eExt.SetBounds(-10880183.78743764, 4108346.5470206295, 0, -10888802.062376793, 4101323.8950469294, 0)
AxMap1.Extents = eExt
AxMap1.CurrentScale = 30000
AxMap1.Refresh()

After looking at the log request file generated by AxMap1.Tiles.StartLogRequests I see that the tile request

http://khms0.google.com/kh/v=164&hl=en&x=3740&y=6514&z=14&s=Galile - Results in a 404 error.

If I manually enter this address in a browser I receive the same error. If I change the "v=" parameter, which Google appears to change periodically, to 171 it renders the tile image correctly.

http://khms0.google.com/kh/v=171&hl=en&x=3740&y=6514&z=14&s=Galile - Renders a tile

Is it possible to add GlobalSetting for the server setting which I believe is what the v= value is.

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>