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

enableAltitude and heightFactor support for GL layers #2510

Open
joric opened this issue Feb 27, 2025 · 0 comments
Open

enableAltitude and heightFactor support for GL layers #2510

joric opened this issue Feb 27, 2025 · 0 comments

Comments

@joric
Copy link

joric commented Feb 27, 2025

Related to #2486. Pulled from this comment #2486 (comment) as a separate issue for tracking.

I need to disable parallax effect for the top view, it was a big part of UX. This worked for VectorLayer but doesn't work for PointLayer:

if (enableAltitude && autoAltitude) {
  markerLayer.setOptions({enableAltitude: map.getPitch()!=0});
}

See https://joric.github.io/maps/fallout-london/ (VectorLayer) vs https://joric.github.io/stalker/ (PointLayer)

Also heightFactor doesn't seem to work AT ALL, even as a static property. It would be great to change heightFactor dynamically too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant