@mapxus/mapxus-map v9.0.0
Mapxus map js sdk
Dependency
maplibre-gl
Install
npm install @mapxus/mapxus-mapTips: We do not recommend you install maplibre-gl by yourself. Each version of @mapxus/mapxus-map uses a specific version of maplibre-gl,@mapxus/mapxus-map will automatically install it with the matched version.
Example
import 'maplibre-gl/dist/maplibre-gl.css';
import maplibregl from 'maplibre-gl';
import * as MapxusMap from '@mapxus/mapxus-map';
const maplibreMap = new maplibregl.Map({
container: 'map',
zoom: 17,
});
const map = new MapxusMap.Map({
map: maplibreMap,
appId: 'your_appId',
secret: 'your_secret',
buildingId: 'building_id', // example: elements_hk_dc005f
// or
// venueId: 'venue_id',
// floorId: 'floor_id',
// poiId: 'poi_id',
});More sample page at MapxusMap Sample Web
Documentation
Docs are available at MapxusMap JS SDK API Docs
License
3-Clause BSD
5 months ago
9 months ago
5 months ago
9 months ago
7 months ago
7 months ago
8 months ago
1 year ago
1 year ago
10 months ago
11 months ago
1 year ago
5 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago