Rename _ol_layer_Tile_ to TileLayer
This commit is contained in:
@@ -7,7 +7,7 @@ import Point from '../src/ol/geom/Point.js';
|
||||
import Polygon from '../src/ol/geom/Polygon.js';
|
||||
import {defaults as defaultInteractions} from '../src/ol/interaction.js';
|
||||
import _ol_interaction_Pointer_ from '../src/ol/interaction/Pointer.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
import _ol_source_TileJSON_ from '../src/ol/source/TileJSON.js';
|
||||
import _ol_source_Vector_ from '../src/ol/source/Vector.js';
|
||||
@@ -147,7 +147,7 @@ var polygonFeature = new _ol_Feature_(
|
||||
var map = new _ol_Map_({
|
||||
interactions: defaultInteractions().extend([new app.Drag()]),
|
||||
layers: [
|
||||
new _ol_layer_Tile_({
|
||||
new TileLayer({
|
||||
source: new _ol_source_TileJSON_({
|
||||
url: 'https://api.tiles.mapbox.com/v3/mapbox.geography-class.json?secure'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user