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

Export

Hierarchy

  • MPMapConfig

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.

mapsIndoorsTransitionLevel?: number

The zoom level at which the map should transition to MapsIndoors tiles. Mapbox specific.

The default value is 17.

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

showMapMarkers?: boolean

Whether to show the mapbox markers on the map. Includes POI's and Places. Mapbox specific The default value is undefined, and enables/disables based on the transition zoom level.

showRoadLabels?: boolean

Whether to show the road labels on the map. Mapbox specific The default value is undefined, and enables/disables based on the transition zoom level.

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