@paraboly/pwc-map

Paraboly Web Components: @Map: renders mapbox, leaflet and openlayers.

Usage no npm install needed!

<script type="module">
  import parabolyPwcMap from 'https://cdn.skypack.dev/@paraboly/pwc-map';
</script>

README

@PWC/MAP

PWC Map component is an abstraction on top of maps like mapboxGL, leaflet, openlayers.

Getting Started

Prerequisites

npm 6+

Installing

Add following script to your index.html head section

`

`

Configuring the initial setup:

this.state =
  map: null,
  config: {}
};

and finally use it in your html.

<PwcMap map="${this.state.map}" config="${this.state.config}"></PwcMap>

Running the tests

$npm run test

Built With

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details