-
Notifications
You must be signed in to change notification settings - Fork 17
PB-2064: fix drawing module #1551
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
PB-2064: fix drawing module #1551
Conversation
2aab2c9 to
2763530
Compare
pakb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you have based your work on #1546 you should switch the base of your PR
| // Register proj4 with OpenLayers | ||
| register(proj4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had mixed result with this, calling OL register inside a bundled lib.
It looked like the proj4 instance we are altering here can be different from the one OL then receives in the overlying app (the one importing this piece of code).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a suggestion on how i can do it differently? the problem is that the EPSG:2056 is missing when calling the parseKML function from the kmlUtils. So the drawing is not visible as the KML coordinates can not be converted.
2763530 to
393a060
Compare
393a060 to
c2de108
Compare
ecac3a6 to
457a137
Compare
Test link