on-internet
← Community

bug between v10.7 and v10.8 and later

Stack Overflow ·

Using OpenLayers since 2015, I moved smoothly to every latest version up to v10.7. The bug occurs since v10.8 (and later to v10.11). The instruction that fails -in try...catch- is: import OLMap from 'https://esm.sh/[email protected]/Map.js'; import View from 'https://esm.sh/[email protected]/View.js'; import { fromLonLat, transformExtent} from 'https://esm.sh/[email protected]/proj.js'; function makeView(center, zoom) { try { const OUTPROJ = 'EPSG:3857'; //ol-featureprojection = Pseudo-Mercator const GPSPROJ = 'EPSG:4326'; //geojson-dataprojection = GPS geographic console.log(`OUTPROJ ${OUTPROJ}, zoom ${zoom}, cen

Comments

Sign in or sign up to comment and upvote.

No comments yet.