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

Marker flies off in the distance when chaning view angles #2871

Closed
jashanbhullar opened this issue Jul 16, 2023 · 5 comments · Fixed by #3704
Closed

Marker flies off in the distance when chaning view angles #2871

jashanbhullar opened this issue Jul 16, 2023 · 5 comments · Fixed by #3704
Assignees
Labels
💰 bounty S Small Bounty, USD 100 bug Something isn't working PR is more than welcomed Extra attention is needed Terrain 3D

Comments

@jashanbhullar
Copy link

maplibre-gl-js version: latest/main branch

browser: Mozilla Firefox 114.0 20230605223242 20230605223242

Steps to Trigger Behavior

1.On your local branch npm start
2.Open 3d-Terrain.html
3.Add the following marker

        const marker = new maplibregl.Marker()
            .setLngLat([11.39067, 47.305513])
            .addTo(map);
  1. Change the angle so are somewhat looking at horizon
  2. The marker flies off to the horizon
  3. Comes back when looking at more perpendicular view angle

Link to Demonstration

https://output.jsbin.com/vatekax#11.9/47.28354/11.40553/0/52
https://jsbin.com/vatekax/2/edit?html,output

Expected Behavior

The marker should not fly off but should remain at the same place

Actual Behavior

The marker flies off to some random distance

marker-flies-off-low.webm

Found when working on this: #1134
Might be related

@HarelM HarelM added bug Something isn't working PR is more than welcomed Extra attention is needed Terrain 3D 💰 bounty S Small Bounty, USD 100 labels Jul 16, 2023
@jashanbhullar jashanbhullar removed their assignment Aug 29, 2023
@HarelM
Copy link
Member

HarelM commented Feb 17, 2024

@sbachinin let me know if you would like to collect the bounty.

@sbachinin
Copy link
Collaborator

@HarelM, yes

@HarelM
Copy link
Member

HarelM commented Feb 17, 2024

Make sure to follow this guide:
https://maplibre.org/roadmap/step-by-step-bounties-guide/

@sbachinin
Copy link
Collaborator

@HarelM
Copy link
Member

HarelM commented Mar 7, 2024

THANKS!
FYI @wipfli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💰 bounty S Small Bounty, USD 100 bug Something isn't working PR is more than welcomed Extra attention is needed Terrain 3D
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants