This configuration object is used when creating a new MapControl instance.

Export

Constructors

Properties

color?: string

The color of the label text (a Hex color String (#1f1f1f))

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.

showFloorSelector?: boolean

Enable/Disable showing the floor selector.

showHalo?: boolean

Whether to show a white shadow behind the text to make it more readable.

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).

typeface?: string

The name of the typeface family to use on the map (the typeface must be supported on the native platform).

useDefaultMapsIndoorsStyle: boolean

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

Generated using TypeDoc