@indoorway/map-js
v1.1.8
Published
<p align="center"> <a href="https://www.indoorway.com" title="Indoorway"> <img src="https://www.indoorway.com/brand/indoorway-logo/svg/indoorway_logo.svg" style="width: 200px; height: auto;"> </a> </p>
Readme
MapJS - Indoorway's Map Renderer
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 [email protected] or visit Indoorway Community Forum.
