Rename _ol_layer_Tile_ to TileLayer
This commit is contained in:
@@ -4,7 +4,7 @@ import {defaults as defaultControls} from '../src/ol/control.js';
|
||||
import FullScreen from '../src/ol/control/FullScreen.js';
|
||||
import {defaults as defaultInteractions} from '../src/ol/interaction.js';
|
||||
import DragRotateAndZoom from '../src/ol/interaction/DragRotateAndZoom.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import _ol_source_BingMaps_ from '../src/ol/source/BingMaps.js';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ var map = new _ol_Map_({
|
||||
new DragRotateAndZoom()
|
||||
]),
|
||||
layers: [
|
||||
new _ol_layer_Tile_({
|
||||
new TileLayer({
|
||||
source: new _ol_source_BingMaps_({
|
||||
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',
|
||||
imagerySet: 'Aerial'
|
||||
|
||||
Reference in New Issue
Block a user