Seperate internal and API methods for the map
This commit is contained in:
@@ -218,7 +218,7 @@ class MousePosition extends Control {
|
||||
}
|
||||
}
|
||||
const map = this.getMap();
|
||||
const coordinate = map.getCoordinateFromPixel(pixel);
|
||||
const coordinate = map.getCoordinateFromPixelExternal(pixel);
|
||||
if (coordinate) {
|
||||
this.transform_(coordinate, coordinate);
|
||||
const coordinateFormat = this.getCoordinateFormat();
|
||||
|
||||
Reference in New Issue
Block a user