react-native-mapbox-gl: HeatmapLayer filter doesn't work in IOS #1739
Beyounder33
started this conversation in
General
Replies: 1 comment
-
Auto Response : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a question about the syntax on filter. for react i write my filter like this :
const filter = ['in', 'value', 1, 2, 3]
it works well with react and react-native android but it crashes with IOS
Anyone has an idea how to write the filter for working both android and ios ?
I build HeatmapLayers with different colors in function of values from my geojson properties value
"features": [
{ "type": "Feature", "properties": { "lat": 44.911485, "long": -0.104281, "value": 77.0, "init values": 32.742382068076829 }, "geometry": { "type": "Point", "coordinates": [ -0.104281, 44.911485 ] } },
{ "type": "Feature", "properties": { "lat": 44.911545, "long": -0.104281, "value": 48.0, "init values": 28.982998211405821 }, "geometry": { "type": "Point", "coordinates": [ -0.104281, 44.911545 ] } },
Thx for your answers
Beta Was this translation helpful? Give feedback.
All reactions