@paraboly/pwc-map
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

@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

`<script type="module" src="https://unpkg.com/@paraboly/PwcMap@latest/dist/PwcMap/PwcMap.esm.js"></script>

<script nomodule src="https://unpkg.com/@paraboly/PwcMap@latest/dist/PwcMap/PwcMap.js"></script>`

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

Package Sidebar

Install

npm i @paraboly/pwc-map

Weekly Downloads

2

Version

0.0.8

License

MIT

Unpacked Size

800 kB

Total Files

85

Last publish

Collaborators

  • parabolynpm