JS 9
//GEOjson to rappresent map data:
{
"features": [
{
"type": "Feature",
"properties": {
"title": "Lincoln Park",
"description": "A northside park that is home to the Lincoln Park Zoo"
},
"geometry": {
"coordinates": [-87.637596, 41.940403],
"type": "Point"
}
}]
}
features.geometry(coordinates) and features.properties(other data)MapBox Markers, events, and properties
Mapbox PopUps, properties, and events.
Style Geojson sources with Mapbox layers
Last updated