Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 662 Bytes

prop-types.md

File metadata and controls

23 lines (15 loc) · 662 Bytes
id title
prop-types
PropTypes

The following PropTypes are exported in the PropTypes object.

children: One PropTypes.node or an Array of PropTypes.node.

latLng: One of [number, number], {lat: number, lng: number} or {lat: number, lon: number}.

latLngList: An Array of latLng.

bounds: An instance of Leaflet.LatLngBounds or a latLngList.

controlPosition: One of topleft, topright, bottomleft or bottomright.

layerContainer: An object containing addLayer() and removeLayer() functions.

viewport: An Object having an optional center of type latLng and optional zoom of type number.