MPMapConfig class
This configuration object is used when creating a new MapControl
instance.
- Inheritance
-
- Object
- MapsIndoorsObject
- MPMapConfig
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFloorSelector(
MPFloorSelectorInterface floorSelector) → MPMapConfig - Replaces the default FloorSelector with a custom one.
-
setMapLabelFont(
String typeface, String color, bool showHalo) → MPMapConfig - Changes the font of the maps marker labels
-
setMapLabelTextSize(
int textSize) → MPMapConfig - Changes the text size of the maps marker labels
-
setShowFloorSelector(
bool show) → MPMapConfig - Enable/Disable showing the floor selector
-
setShowInfoWindowOnLocationClicked(
bool show) → MPMapConfig - Enables/Disables the info window on user-selected locations
-
setShowUserPosition(
bool show) → MPMapConfig - Renders the positioning puck (blue dot) at the last known user position on the map
-
setTileFadeInEnabled(
bool enable) → MPMapConfig - Enable fade-in effect on MapsIndoors tiles. Changes will be reflected on the map upon changing floors.
-
setUseDefaultMapsIndoorsStyle(
bool use) → MPMapConfig - Sets whether to use the default map styling used by MapsIndoors, enabled by default
-
toJson(
) → Map< String, dynamic> -
Converts the MPMapConfig to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited