fix linting

This commit is contained in:
Tobias Kohr
2019-09-24 10:13:21 +02:00
parent 5711cd30d0
commit b1196e7601
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -702,7 +702,7 @@ class PluggableMap extends BaseObject {
* @api
*/
getCoordinateFromPixelExternal(pixel) {
return toUserCoordinate(this.getCoordinateFromPixelInternal(pixel), this.getView().getProjection())
return toUserCoordinate(this.getCoordinateFromPixelInternal(pixel), this.getView().getProjection());
}
/**
+1 -1
View File
@@ -220,7 +220,7 @@ class MousePosition extends Control {
const map = this.getMap();
const coordinate = map.getCoordinateFromPixelInternal(pixel);
if (coordinate) {
const userProjection = getUserProjection()
const userProjection = getUserProjection();
if (userProjection) {
this.transform_ = getTransformFromProjections(
this.mapProjection_, userProjection);