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

@@ -15,7 +15,7 @@ var map = new ol.Map({
}),
new ol.layer.TileLayer({
source: new ol.source.TileJSON({
uri: 'http://api.tiles.mapbox.com/v3/mapbox.va-quake-aug.jsonp',
url: 'http://api.tiles.mapbox.com/v3/mapbox.va-quake-aug.jsonp',
crossOrigin: 'anonymous'
})
})