-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
GeoJSON layers not behaving as expected when using ["geometry-type"]
#5103
Comments
I've checked this locally and it looks good. |
OK.. Updated my example to also add labels with the value of |
Your example still has a multipoint with one point. |
I see your point now, the filter is not acting as it should be. |
I think the bug is here: Filters are converted to special use case for some reason (probably an historic one... :-/) |
@dschep if you have a way to test my fix it would be great to see if I didn't miss anything (this is in the style spec repo right now). |
I'll test as soon as I can, but that probably won't be today 🦃 |
When looking into the impact of maplibre/maplibre-style-spec#519 on Ultra which makes heavy use of GeoJSON sources, I discovered that geojson-vt transforms all single geometry types into multis. This manifests as a bug in MapLibre GL JS.
maplibre-gl-js version: v5 & v4, probably all?
browser: All
Steps to Trigger Behavior
["geometry-type"]
to style Points and MultiPoints differentlyLink to Demonstration
Expected Behavior
Actual Behavior
v4
v5
The text was updated successfully, but these errors were encountered: