react-vallaris
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Logo

react-vallaris | Documentation

NPM npm downloads TypeScript

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 © nutthapol.j@i-bitz.co.th

/react-vallaris/

    Package Sidebar

    Install

    npm i react-vallaris

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.63 MB

    Total Files

    43

    Last publish

    Collaborators

    • nutthapol.j