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

Crash on using clusterProperties #236

Open
westnordost opened this issue Jan 8, 2025 · 0 comments
Open

Crash on using clusterProperties #236

westnordost opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@westnordost
Copy link
Collaborator

While trying out how the clusterProperties work to properly document it, I noticed that it just crashes if one attempts to use it.

When I add in ClusterPointsDemo

clusterProperties = mapOf("range" to GeoJsonOptions.ClusterProperty("+", feature.get("current_range_meters")))

(and "current_range_meters" to (bike["current_range_meters"] ?: JsonNull), in readGbfsData to actually have that data in the geojson)

the Android app will just crash in native code.

Of course, MapLibre should not crash, but maybe it crashes because the API is not used in the expected manner?

@westnordost westnordost added the bug Something isn't working label Jan 8, 2025
@sargunv sargunv added this to the v0.6.0 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants