Rename _ol_Observable_ to Observable
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Map from '../src/ol/Map.js';
|
||||
import _ol_Observable_ from '../src/ol/Observable.js';
|
||||
import Observable from '../src/ol/Observable.js';
|
||||
import _ol_Overlay_ from '../src/ol/Overlay.js';
|
||||
import {getArea, getLength} from '../src/ol/sphere.js';
|
||||
import View from '../src/ol/View.js';
|
||||
@@ -238,7 +238,7 @@ function addInteraction() {
|
||||
// unset tooltip so that a new one can be created
|
||||
measureTooltipElement = null;
|
||||
createMeasureTooltip();
|
||||
_ol_Observable_.unByKey(listener);
|
||||
Observable.unByKey(listener);
|
||||
}, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user