Rename TileJSONOptions.uri to TileJSONOptions.url

This commit is contained in:
Frederic Junod
2013-03-25 10:17:37 +01:00
parent 560f645384
commit 415e7a6dd4
4 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ var map = new ol.Map({
layers: [
new ol.layer.TileLayer({
source: new ol.source.TileJSON({
uri: 'http://api.tiles.mapbox.com/v3/mapbox.geography-class.jsonp',
url: 'http://api.tiles.mapbox.com/v3/mapbox.geography-class.jsonp',
crossOrigin: 'anonymous'
})
})