0.1.6 • Published 8 years ago
react-leaflet-map v0.1.6
react-leaflet-map
API
<MapContainer />
Props:
tiles: string indicating which tileset to use
default:http://{s}.tile.osm.org/{z}/{x}/{y}.pngminimal_light:https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.pngminimal_dark:https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png
polygons: array of polygons in PolyLine, GeoJSON, WKT or WKB format
encoding: if using WKB, the encoding of the WKB string (default is base64)
points: array of points in [lat, long] format
height: height of the resulting map
iconHTML: map marker defined as HTML with <src> or <img>