fix linting
This commit is contained in:
@@ -27,7 +27,7 @@ import LayerGroup from './layer/Group.js';
|
|||||||
import {hasArea} from './size.js';
|
import {hasArea} from './size.js';
|
||||||
import {DROP} from './structs/PriorityQueue.js';
|
import {DROP} from './structs/PriorityQueue.js';
|
||||||
import {create as createTransform, apply as applyTransform} from './transform.js';
|
import {create as createTransform, apply as applyTransform} from './transform.js';
|
||||||
import { toUserCoordinate } from './proj.js';
|
import {toUserCoordinate} from './proj.js';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -702,7 +702,7 @@ class PluggableMap extends BaseObject {
|
|||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
getCoordinateFromPixelExternal(pixel) {
|
getCoordinateFromPixelExternal(pixel) {
|
||||||
return toUserCoordinate(this.getCoordinateFromPixelInternal(pixel), this.getView().getProjection())
|
return toUserCoordinate(this.getCoordinateFromPixelInternal(pixel), this.getView().getProjection());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -719,7 +719,7 @@ class PluggableMap extends BaseObject {
|
|||||||
return applyTransform(frameState.pixelToCoordinateTransform, pixel.slice());
|
return applyTransform(frameState.pixelToCoordinateTransform, pixel.slice());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the map controls. Modifying this collection changes the controls
|
* Get the map controls. Modifying this collection changes the controls
|
||||||
* associated with the map.
|
* associated with the map.
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ class MousePosition extends Control {
|
|||||||
const map = this.getMap();
|
const map = this.getMap();
|
||||||
const coordinate = map.getCoordinateFromPixelInternal(pixel);
|
const coordinate = map.getCoordinateFromPixelInternal(pixel);
|
||||||
if (coordinate) {
|
if (coordinate) {
|
||||||
const userProjection = getUserProjection()
|
const userProjection = getUserProjection();
|
||||||
if (userProjection) {
|
if (userProjection) {
|
||||||
this.transform_ = getTransformFromProjections(
|
this.transform_ = getTransformFromProjections(
|
||||||
this.mapProjection_, userProjection);
|
this.mapProjection_, userProjection);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import PointerInteraction from './Pointer.js';
|
|||||||
import VectorLayer from '../layer/Vector.js';
|
import VectorLayer from '../layer/Vector.js';
|
||||||
import VectorSource from '../source/Vector.js';
|
import VectorSource from '../source/Vector.js';
|
||||||
import {createEditingStyle} from '../style/Style.js';
|
import {createEditingStyle} from '../style/Style.js';
|
||||||
import { toUserExtent } from '../proj.js';
|
import {toUserExtent} from '../proj.js';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user