react-vallaris
v1.0.2
Published
A React binding of Vallaris map
Downloads
4
Readme
react-vallaris | Documentation
React wrapper for Vallaris ( render interactive maps base on mapbox-gl-js )
Getting Started
npm install --save react-vallaris mapbox-gl @mapbox/mapbox-gl-draw
Components
Proxy components (proxy between React and Mapbox API)
- ReactMapboxGL
- Source
- Layer
- Draw
Example:
import ReactVallaris from 'react-vallaris';
const Map = () => {
return <ReactVallaris style={{ height: '100vh', width: '80vw' }} />;
};
export default Map;
License
MIT © [email protected]