Parameter interface for MPMapConfig.

Export

MPMapConfigParams

interface MPMapConfigParams {
    enableTileFadeIn?: boolean;
    floorSelector?: MPFloorSelectorInterface;
    mapLabelFont?: MapLabelFont;
    showFloorSelector?: boolean;
    showInfoWindowOnClick?: boolean;
    showUserPosition?: boolean;
    textSize?: number;
    useDefaultMapsIndoorsStyle: boolean;
}

Properties

enableTileFadeIn?: boolean

Enable fade-in effect on MapsIndoors tiles. Changes will be reflected on the map upon changing floors.

Default behavior is enabled fade-in.

floorSelector?: MPFloorSelectorInterface

Replaces the default FloorSelector with a custom one.

mapLabelFont?: MapLabelFont

A map label configuration object.

showFloorSelector?: boolean

Enable/Disable showing the floor selector.

showInfoWindowOnClick?: boolean

Enables/Disables the info window on user-selected locations.

The info window is shown by default when the user selects a location (by tapping on it).

showUserPosition?: boolean

Renders the positioning puck (blue dot) at the last known user position on the map.

textSize?: number

Changes the text size of the maps marker labels.

The size is in dense pixels (DP).

useDefaultMapsIndoorsStyle: boolean

Whether to use the default map styling used by MapsIndoors, true by default.

Generated using TypeDoc