Seperate internal and API methods for the map

This commit is contained in:
Tobias Kohr
2019-09-23 17:23:32 +02:00
parent 66746a61bb
commit d4c1589a01
16 changed files with 86 additions and 53 deletions

View File

@@ -74,7 +74,7 @@ class MapBrowserEvent extends MapEvent {
*/
get coordinate() {
if (!this.coordinate_) {
this.coordinate_ = this.map.getCoordinateFromPixel(this.pixel);
this.coordinate_ = this.map.getCoordinateFromPixelInternal(this.pixel);
}
return this.coordinate_;
}