Provide a way to register a custom Projection ol.proj.proj4 #58
-
Dear Melih, It seems to be a good improvement to provide a way to register new projection.
Thanks for your work ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
thanks for your suggestion. I added a new component for registration. You can easily register the new project with:
then you can use like that:
please update your version to V.0.1.56 example: https://codesandbox.io/s/projection-register-example-kl0qs?file=/src/App.vue |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot… |
Beta Was this translation helpful? Give feedback.
thanks for your suggestion.
I added a new component for registration. You can easily register the new project with:
then you can use like that:
<ol-view ref="view" :center="center" :rotation="rotation" :zoom="zoom" projection="EPSG:21781" />
please update your version to V.0.1.56
example: https://codesandbox.io/s/projection-register-example-kl0qs?file=/src/App.vue