You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue lies in the interaction between the ol and proj4 packages. ol uses coordinate reference system (CRS) definitions that have been defined in proj4. But using esm.sh ol fails to use the CRS definitions defined in proj4.
Error message
Coordinates reprojected through openlayers interface are not reprojected correct:
It should look like this:
Using Skypack CDN the failing-esm-example does actually work.
Additional info
esm.sh version: current prod
Browser version: firefox 118.0.2 (64-bit)
The text was updated successfully, but these errors were encountered:
@arbakker thanks for the details hug help! i just dig a bit, this happens because esm.sh bundle code by default for reducing network requests that breaks the slideEffect(skypack works since its running in non bundling mode)
Failing module
Imported module does not work as intended, see also openlayers/openlayers#15274 on OpenLayers issue tracker.
The issue lies in the interaction between the
ol
andproj4
packages.ol
uses coordinate reference system (CRS) definitions that have been defined inproj4
. But using esm.shol
fails to use the CRS definitions defined inproj4
.Error message
Coordinates reprojected through openlayers interface are not reprojected correct:
It should look like this:
Using Skypack CDN the
failing-esm-example
does actually work.Additional info
The text was updated successfully, but these errors were encountered: