Closed tungtouch closed 8 years ago
Hi guys,
I had test tilter layer URL: https://api.mapbox.com/styles/v1/mapbox/outdoors-v9/tiles/256/{z}/{x}/{y}?access_token={token} it's work!
https://api.mapbox.com/styles/v1/mapbox/outdoors-v9/tiles/256/{z}/{x}/{y}?access_token={token}
$scope.tiles = { url : "https://api.mapbox.com/styles/v1/mapbox/outdoors-v9/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoidHVuZ3RvdWNoIiwiYSI6ImNpcXl5ZGkyMDAxemtmcW04ZnV0b2FzM2oifQ.xxxx" };
but with tiler layer URL: https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?{token} It's not work.
https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?{token}
$scope.tiles = { url : "https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoidHVuZ3RvdWNoIiwiYSI6ImNpcXl5ZGkyMDAxemtmcW04ZnV0b2FzM2oifQ.xxxx" };
Because i like tiler layer from http://leafletjs.com/examples/mobile-example.html
Hi guys,
I had test tilter layer URL:
https://api.mapbox.com/styles/v1/mapbox/outdoors-v9/tiles/256/{z}/{x}/{y}?access_token={token}
it's work!but with tiler layer URL:
https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?{token}
It's not work.Because i like tiler layer from http://leafletjs.com/examples/mobile-example.html