Rename _ol_source_WMTS_ to WMTS

This commit is contained in:
Tim Schaub
2018-01-08 16:06:42 -07:00
parent ecd1343d75
commit 2440d52ebe
8 changed files with 51 additions and 51 deletions

View File

@@ -4,7 +4,7 @@ import {defaults as defaultControls} from '../src/ol/control.js';
import * as _ol_extent_ from '../src/ol/extent.js';
import TileLayer from '../src/ol/layer/Tile.js';
import {fromLonLat, get as getProjection} from '../src/ol/proj.js';
import _ol_source_WMTS_ from '../src/ol/source/WMTS.js';
import WMTS from '../src/ol/source/WMTS.js';
import WMTSTileGrid from '../src/ol/tilegrid/WMTS.js';
@@ -41,7 +41,7 @@ var tileGrid = new WMTSTileGrid({
// Expiration date is 06/29/2018.
var key = '2mqbg0z6cx7ube8gsou10nrt';
var ign_source = new _ol_source_WMTS_({
var ign_source = new WMTS({
url: 'https://wxs.ign.fr/' + key + '/wmts',
layer: 'GEOGRAPHICALGRIDSYSTEMS.MAPS',
matrixSet: 'PM',