> For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt.

# Initial Map Configuration

Mapxus Map provides a lot of optional parameters to customize the map features. All parameters and types please check [Mapxus Map Constructor][map option].

```js
MapxusAuth.registerWithApiKey("your_appId", "your_secret");
// init maplibre-gl map
const maplibreMap = new maplibregl.Map({
  container: "map",
});
// init mapxus map
const map = new MapxusMap.Map({
  map: maplibreMap,
  venueId: "9f0af5f1758040008a7b112d041c0977",
  floorSelectorStyle: {
    itemCount: 5,
    fontColor: "#389e0d",
    activeFontColor: "#d46b08",
    backgroundColor: "#f6ffed",
    activeBackgroundColor: "#fff7e6",
    defaultFolded: true,
  },
  selectedBuildingBorderStyle: {
    lineColor: "#f759ab",
    lineOpacity: 0.8,
    lineWidth: 3,
  },
  language: MapxusMap.PresetLanguage.ENGLISH,
});
```

Sample web page:

<iframe src="https://map-service.mapxus.com/bssww/floorsSelector" width="100%" height="550px"></iframe>

[map option]: https://map-service.mapxus.com/dpw/api/v1/api/digitalMap/web/10.2.1/interfaces/IMapOption.html
