Open afendin opened 3 years ago
To make it work had to replace
["get", "filterrank"]
["get", "sizerank"]
["get", "symbolrank"]
["get", "len"]
["get", "reflen"]
["get", "layer"]
in filters with
["to-number", ["get", "filterrank"]]
etc...
I have the ParseStyle issue as well after using a custom navigation map url.
Number parsing appears to have broken with Qt 5.15. I've implemented a fix to the Mapbox library here: https://github.com/mapbox/mapbox-gl-native/pull/16562
I am also seeing this, but the suggested fix does not seem to be helping in this case, the errors:
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [2]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [2]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [2]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [2]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [2]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [1]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
[ WARNING ] "{unknown}[ParseStyle]: [1]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead."
still appear with it in place.
any update on this? I'm using a custom style url on Qt 5.15.2 and still get the same "ParseStyle" errors. Is this fixed in any newer releases?
I have same warnings.
Same issue for me.
Until now I had used
mapbox://styles/mapbox/navigation-preview-night-v2
style, which was working fine. But when I changed my style to "Navigation"(which is default template from Mapbox Studio), I got following warnings:And my map does not have half of icons on it.
Here's my code sample: