mapxus-map
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Mapxus map js sdk

Dependency

mapbox-gl-js

Install

npm install mapxus-map

Example

import mapboxgl from 'mapbox-gl';
import 'mapbox-gl/src/css/mapbox-gl.css';
import * as MapxusMap from 'mapxus-map';

const mapbox = new mapboxgl.Map({
    container: 'map'
});

const map = new MapxusMap.Map({
    map: mapbox,
    appId: 'your_appId',
    secret: 'your_secret',
    buildingId: 'building_id', // example: elements_hk_dc005f
});

More sample page at https://map-service.mapxus.com/bssww/loadMap

Documentation

Docs are available at https://map-service.mapxus.com/dpw/digitalMapWeb

License

3-Clause BSD

Readme

Keywords

Package Sidebar

Install

npm i mapxus-map

Weekly Downloads

2

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

1 MB

Total Files

6

Last publish

Collaborators

  • nawsken