ThinkGeo.com    |     Documentation    |     Premium Support

Tiles MapBoxOverlay

Hi
I have a problem with MapBoxOverlay
http://api.mapbox.com/v4/mapbox.streets/10/1024/723.png?access_token=xxx
The response of MapBox is This tile does not exist ? it is in france and this tile exist with OpenStreetmap.
My projection is 3857 and I use OpenStreetMapsZoomLevelSet.
When i have all the world, my position in France is near the New zeleand ?
No problem with Google, Bing, OSM,…
Thanks
Last version of MapSuite Android Full Dev

Hi Maumet,

The URL with the format http://api.mapbox.com/v4/{mapId}/{z}/{x}/{y}.{format}?access_token={your token}, from the url you append you can get the value:
mapId: mapbox.streets
z: 10
x: 1024
y: 723
format: png

The rang of the x value should be [0, 2 pow z], so the 1024 is out of the range.

One thing I want to make a confirmation: How do you get the url of tile? Use our MapBoxOverlay or you put it manually? If you get it by our MapBoxOverlay, could you please tell us how to recreate it?

Thanks,
Peter

Hi Peter
I use MapBoxOverlay, at the same place the Bing or Google Map is OK
When I use OpenStreetMapOverlay, I use CustomServerUris and add
http://a.tiles.mapbox.com/v3/tmcw.map-jxxxxxx
It is Ok
In your MapBoxOverlay, you use Mapbox V4 URL.
I test MapBoxOverlay in my application, in the map, instead of tiles the url
http://api.mapbox.com/v4/mapbox.streets/10/1024/723.png?access_token=xxx
appear. I test this manually and the tile does not exist

        var osmOverlay = new MapBoxOverlay();
        osmOverlay.TileType = TileType.MultiTile;
        osmOverlay.MapId = MapBoxMapId.Satellite;
        osmOverlay.ImageFormat = MapBoxImageFormat.Png;
        osmOverlay.AccessToken = "pk.xxxxxxx";

Best regards

Hi Maumet,

That’s strange because I think the level 10 should only contains 1023 columns but it looks this link calculate the 1024.

I have let our developer know this problem, any update I will let you know.

Regards,

Don

Hi
News about problem

Regards
laurent

Hi Laurent,

Sorry I still hadn’t get response from our developers, it looks all the mobile issues are in the pending list and I guess our developer should can start to solve them after 10.0 release, which is really coming near now.

Regards,

Don

Hi Maumet,

As below is the reply from our developer.

I think your problem is caused by incorrect ZoomLevelSet.

The different maps use its corresponding ZoomLevelSet, please choose the default ZoomLevelSet or SphericalMercatorZoomLevelSet for MapBoxOverlay.

I create a MapBox demo attached, but unfortunately I can’t recreated your problem.
8398_MapBoxTest.zip (1.7 MB)

If the sample still can’t solve your problem, please give us more detailed information or upload a simple sample which can recreate your problem.

Thanks,