Do not warn about coordinates when view projection is configured

This commit is contained in:
Andreas Hocevar
2022-03-10 16:52:49 +01:00
parent 7d9cf83efe
commit 5c7b9124cc
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -620,7 +620,7 @@ export function fromUserCoordinate(coordinate, destProjection) {
showCoordinateWarning = false;
// eslint-disable-next-line no-console
console.warn(
'Call useGeographic() ol/proj once to work with [longitude, latitude] coordinates.'
'Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.'
);
}
return coordinate;