MapboxMap
npm install react-mapboxmap
var React = MapboxMap = ; var Master = React;
Attributes
-
mapId
orsrc
-- either a map id (examples.map-foo
), a comma-separated list of ids, a URL to TileJSON (https://api.tiles.mapbox.com/v3/examples.map-0l53fhk2.json
) or a TileJSON object -
onMapCreated(map, L)
-- a callback for furter customization. Params:map
-- the map objectL
-- the Leaflet.js instance used to create the map (Mapbox.js included)