Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map.custom.js doit être mis à jour avec Extract 2.1 #320

Closed
yblatti opened this issue Jul 18, 2024 · 2 comments
Closed

map.custom.js doit être mis à jour avec Extract 2.1 #320

yblatti opened this issue Jul 18, 2024 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@yblatti
Copy link
Contributor

yblatti commented Jul 18, 2024

OpenLayers a été mis à jour avec la Extract 2.1. ("openlayers": "4.6.5" -> "ol": "9.1.0")

La manière dont proj4js est enregistré à changé en v5.
Tous les utilisateurs d'un fichier map.custom.js doivent adapter l'enregistrement (voir defe7af pour le fichier .dist).

-        ol.proj.setProj4(proj4);
+        ol.proj.proj4.register(proj4);

Il faut l'indiquer dans la documentation de mise à jour.

Question subsidiaire : Y a-t-il d'autres changements importants à documenter?

@yblatti yblatti added bug Something isn't working documentation Improvements or additions to documentation labels Jul 18, 2024
@yblatti
Copy link
Contributor Author

yblatti commented Jul 18, 2024

Remonté pour correction (en principe sous garantie) : ref interne FS#23517

arxit-ygr added a commit to arxit-ygr/extract that referenced this issue Aug 11, 2024
@yblatti yblatti added this to the v2.1.1 milestone Aug 12, 2024
@yblatti
Copy link
Contributor Author

yblatti commented Aug 12, 2024

Fixé en v2.1.1, merci @arxit-ygr

@yblatti yblatti closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant