Fix typo in xyz-esri-4326-512 example
This commit is contained in:
@@ -35,8 +35,7 @@ var map = new ol.Map({
|
|||||||
target: 'map',
|
target: 'map',
|
||||||
layers: [
|
layers: [
|
||||||
new ol.layer.Tile({
|
new ol.layer.Tile({
|
||||||
extent: projectionExtent,
|
/* ol.source.XYZ and ol.tilegrid.XYZ have no resolutions config */
|
||||||
/* ol.source.XYZ and ol.tilegrid.XYZ have nu resolutions config */
|
|
||||||
source: new ol.source.TileImage({
|
source: new ol.source.TileImage({
|
||||||
attributions: [attribution],
|
attributions: [attribution],
|
||||||
tileUrlFunction: function(tileCoord, pixelRatio, projection) {
|
tileUrlFunction: function(tileCoord, pixelRatio, projection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user