1.0.0 • Published 3 years ago

@meveo-org/mv-maps v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

mv-maps

MvMaps is a map component (based on lit-element) that renders a map with selectable countries. It makes use of Highcharts Maps to render the map

Quick Start

To experiment with the MvMaps component.

  1. Clone this repo.

  2. Serve the project from the root directory with some http server (best served with meveo itself)

  3. Update the maps demo component in demo.js file

Sample usage

<mv-maps
  .selected="${this.countries}"               // an array of countries with id and name properties
  @update-countries="${this.updateCountries}" // a custom event that returns a list of countries that 
                                              // have been selected
></mv-maps>

You can also check this demo

Acknowledgements

1.0.0

3 years ago