mapbox-gl-draw Questions
1
I have a geojson polygon adding to the map with the click of a button. I also have the style of the polygon changing on the mousedown event on the geojson and the x/y coord pairs (the geojson geome...
Homeland asked 18/9, 2017 at 20:29
2
Solved
I tried to change the line-dasharray settings using the following code,
'line-dasharray': [
"case",
['==', ['get', "user_class_id"], 'laneway'],[0.2,2],[0.3,2]
]
It gives this error,
Error...
Slapdash asked 15/5, 2019 at 11:11
1
I have seen few examples of animated line on mapbox but I haven't found any that creates a linear line between two points. I am able to create markers on the map and also to draw a line between the...
Barsac asked 23/10, 2018 at 6:17
0
When visualizing clusters with Mapbox's GL JS, how can I show clusters as circles which size/colours are proportional to the average of clustered points' property 'Rev', instead of proportional to ...
Rento asked 20/8, 2018 at 19:29
1
Solved
I'm reading a GeoJSON file and importing the polygons (and other stuff) into mapbox-gl draw using draw.set(geoJSON). How do I color individual polygons by an attribute in the properties of a featur...
Koester asked 12/7, 2018 at 10:23
1
© 2022 - 2024 — McMap. All rights reserved.