Use XHR by default to load TileJSON in ol.source.TileJSON
This commit is contained in:
@@ -19,7 +19,7 @@ var map = new ol.Map({
|
||||
new ol.layer.Tile({
|
||||
source: new ol.source.TileJSON({
|
||||
url: 'http://api.tiles.mapbox.com/v3/' +
|
||||
'mapbox.natural-earth-hypso-bathy.jsonp',
|
||||
'mapbox.natural-earth-hypso-bathy.json',
|
||||
crossOrigin: 'anonymous'
|
||||
}),
|
||||
minResolution: 2000,
|
||||
|
||||
Reference in New Issue
Block a user