diff --git a/examples/semi-transparent-layer.js b/examples/semi-transparent-layer.js index 5c686fc564..7739481d97 100644 --- a/examples/semi-transparent-layer.js +++ b/examples/semi-transparent-layer.js @@ -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' }) }) diff --git a/examples/tilejson.js b/examples/tilejson.js index d25cfc1fc3..e387aa1116 100644 --- a/examples/tilejson.js +++ b/examples/tilejson.js @@ -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' }) }) diff --git a/src/objectliterals.exports b/src/objectliterals.exports index 231b5091b0..12b117241b 100644 --- a/src/objectliterals.exports +++ b/src/objectliterals.exports @@ -155,7 +155,7 @@ @exportObjectLiteral ol.source.TileJSONOptions @exportObjectLiteralProperty ol.source.TileJSONOptions.crossOrigin null|string|undefined -@exportObjectLiteralProperty ol.source.TileJSONOptions.uri string +@exportObjectLiteralProperty ol.source.TileJSONOptions.url string @exportObjectLiteral ol.source.TiledWMSOptions @exportObjectLiteralProperty ol.source.TiledWMSOptions.attributions Array.