Rename _ol_MapProperty_ to MapProperty

This commit is contained in:
Frederic Junod
2018-01-11 13:48:23 +01:00
parent fe6e66958c
commit 356cea1611
2 changed files with 18 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ import {inherits} from '../index.js';
import _ol_Collection_ from '../Collection.js';
import PluggableMap from '../PluggableMap.js';
import MapEventType from '../MapEventType.js';
import _ol_MapProperty_ from '../MapProperty.js';
import MapProperty from '../MapProperty.js';
import BaseObject from '../Object.js';
import ObjectEventType from '../ObjectEventType.js';
import Overlay from '../Overlay.js';
@@ -252,7 +252,7 @@ OverviewMap.prototype.setMap = function(map) {
* @private
*/
OverviewMap.prototype.handleMapPropertyChange_ = function(event) {
if (event.key === _ol_MapProperty_.VIEW) {
if (event.key === MapProperty.VIEW) {
var oldView = /** @type {ol.View} */ (event.oldValue);
if (oldView) {
this.unbindView_(oldView);