2.17.0-dev • Published 9 months ago
mapbox-gl-js-with-shapes v2.17.0-dev
THIS IS A FORKED BRANCH FROM THE ORIGINAL MAPBOX
This branch will have everything what the mapbox has but extended to show some shapes within the markers like in the image below:
USAGE
Just add the shape
and shapeColor
properties for each of your marker and you are ready to rock.
For example:
{
type: 'Feature',
properties: {
shape: 'triangle',
shapeColor: '#fff'
},
geometry: {
type: 'Point',
coordinates: []
}
Available shapes are: circle
, diamond
, triangle
, square
, star
, invTriangle
2.17.0-dev
9 months ago
2.13.0-dev
1 year ago