-
Notifications
You must be signed in to change notification settings - Fork 2
Update MapLibre and enhance marker functionality #198
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
base: main
Are you sure you want to change the base?
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
295c23f to
57d0c12
Compare
|
@dbrgn would be ready for review. i closed the other PR i had as this is a much better implementation. |
|
Implementation in action: |
|
Nice, thanks! Can you rebase against Without having tested your implementation yet (just based on the video): If an elevation was manually entered, we should probably not override it when moving the marker... What's your view on this? We could initialize a |
|
Another thing: You used AI tools quite a lot for your PR, right? That is fine in general (I use LLM based tools as well for some tasks), but if you do so, please make sure that it has the same resulting quality as if you yourself wrote the change. Two examples where I'm unsure about this:
Other examples include a code comment that claims to "Remove existing layers safely". I'm not sure what aspect of that code should be safe, and what would make it non-safe? This looks like a typical LLM-generated slightly nonsensical comment. PRs with LLM-generated code that was reviewed, verified and tested by you is welcome and appreciated. If not thoroughly tested and line-by-line-reviewed by you, then only with a clear disclaimer (and such PRs might get slower attention by me, because it means more work for me when reviewing). (In this case, you don't need to change anything about the privacy policy, I'll cherry-pick the commit to a separate PR and will do the necessary adjustments. In general, if you make separate PRs for separate topics, that helps me reviewing and will also speed up the merge process.) |
57d0c12 to
98ba9cf
Compare
dbrgn
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.
Oops, seems I never submitted my review comments...
Yea, my background is more in Robotics and coding with C++, with some minimal HTML and CSS quite a while ago. which is why the whole Svelte and co is pretty new to me. |
|
@dbrgn took a while to implement the changes, as the exaggeration is linked with the returned elevation. and didn't want to go down the pixel color reading and manual calculation route. |
and update the corresponding fields in the form based on marker location
46b1ee9 to
fdc0070
Compare
|
@dbrgn gave it another go, and tried to follow the existing implementation as closely as possible. |
Summary
Upgrades MapLibre GL to v5.6.2 and adds automatic country code and elevation detection for map markers.
Key Changes
🗺️ Map Enhancements
User Impact