Rename _ol_source_TileJSON_ to TileJSON
This commit is contained in:
@@ -4,7 +4,7 @@ import View from '../src/ol/View.js';
|
||||
import _ol_coordinate_ from '../src/ol/coordinate.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import {toLonLat} from '../src/ol/proj.js';
|
||||
import _ol_source_TileJSON_ from '../src/ol/source/TileJSON.js';
|
||||
import TileJSON from '../src/ol/source/TileJSON.js';
|
||||
|
||||
|
||||
/**
|
||||
@@ -44,7 +44,7 @@ closer.onclick = function() {
|
||||
var map = new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
source: new _ol_source_TileJSON_({
|
||||
source: new TileJSON({
|
||||
url: 'https://api.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy.json?secure',
|
||||
crossOrigin: 'anonymous'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user