Interactive interface for browsing global, full-resolution satellite imagery
2221 set wrapX to false on vector source for measurement drawings so they don't repeat
Jason Kentc3176c8d7c32
diff --git a/web/js/map/measure/ui.js b/web/js/map/measure/ui.jsindex c0974bfb0..0f166593d 100644--- a/web/js/map/measure/ui.js+++ b/web/js/map/measure/ui.js@@ -35,7 +35,7 @@ export function measure(map, mapUiEvents, store) {let unitOfMeasure = 'km';let useGreatCircle = false;const self = {};- const source = new OlVectorSource();+ const source = new OlVectorSource({ wrapX: false });const projection = map.getView().getProjection().getCode();const areaBgFill = new OlStyleFill({color: 'rgba(213, 78, 33, 0.1)'