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

Spurious animation during zoom level change on MLNHeatmapStyleLayer #3168

Open
matthewcheok opened this issue Jan 22, 2025 · 2 comments
Open

Comments

@matthewcheok
Copy link

MapLibre iOS Version

6.10

iOS Version

18.2

Device

iPhone 16 Pro

What happened?

When changing zoom levels there is occasionally a spurious animation of the heatmap layer radius. This does not happen in the web version

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-01-22.at.20.20.18.720.mov

Steps to reproduce

I used a basic implementation to test this:

let source = MLNShapeSource(identifier: "allpoints", shape: MLNShapeCollection(shapes: points))
style.addSource(source)
      
let heatmapLayer = MLNHeatmapStyleLayer(identifier: "heatmap", source: source)
style.addLayer(heatmapLayer)

Relevant log output

Additional context

No response

@louwers louwers added the metal label Jan 22, 2025
@louwers
Copy link
Collaborator

louwers commented Jan 22, 2025

Could you provide a full example with data so we can try it out?

Do you happen to know if this already happened before the 6.0.0 release?

@louwers louwers added the iOS label Jan 22, 2025
@matthewcheok
Copy link
Author

I added a sample project here https://github.com/matthewcheok/MapLibreHeatmapAnimation

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

No branches or pull requests

2 participants