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

1.1.8 • Public • Published

MapJS - Indoorway's Map Renderer

Twitter

Indoorway lets you find your way indoors. Check it out!

MapJS is based on Leaflet and it renders maps from Indoorway's map revisions.

npm i @indoorway/map-js 

then

  import { MapJS } from '@indoorway/map-js';

  const mapJS = new MapJS();

  const mapRevision = getMapRevisionFromIndoorwayAPI(); // See examples/fetchFromApi.html

  const floor40 = mapJS.render(mapRevision, {
    container: document.getElementById('map-floor40')
  });

You can read full documentation in ./dist/docs/index.html

Community

In case of any troubles or questions contact us at contact@indoorway.com or visit Indoorway Community Forum.

Readme

Keywords

none

Package Sidebar

Install

npm i @indoorway/map-js

Weekly Downloads

0

Version

1.1.8

License

MIT

Unpacked Size

32.3 MB

Total Files

193

Last publish

Collaborators

  • dieow
  • tomasz_janusz