MapContentSettings class - mapview library - Dart API
MapContentSettings
MapContentSettings class abstract
Provides settings regarding map data which are applied globally to all map views.
The settings can already be changed before a map view instance is created.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
filterTrafficIncidents(
List< TrafficIncidentType> trafficIncidents) → void - Filters the displayed traffic incidents so that only the ones applicable to the specified criteria are shown when general display of traffic incidents is enabled.
-
resetTrafficIncidentFilter(
) → void - Removes all filters regarding Traffic Incidents so that all incidents will be displayed, when the display of Traffic Incidents is enabled using MapScene.enableFeatures with MapFeatures.trafficIncidents.
-
resetTrafficRefreshPeriod(
) → void - Resets the traffic data (both flow and incidents) refresh period so the default traffic information validity time and the refresh period derived from the refresh period of the traffic server is used.
-
setTrafficRefreshPeriod(
Duration value) → void - Sets the traffic data refresh period for both MapFeatures.trafficFlow and MapFeatures.trafficIncidents.