Rename _ol_source_TileJSON_ to TileJSON

This commit is contained in:
Tim Schaub
2018-01-08 15:51:17 -07:00
parent d940b5d458
commit 57febf2712
14 changed files with 43 additions and 43 deletions

View File

@@ -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'
})