CPMapTemplate class
A template object that displays map.
Constructors
-
CPMapTemplate.new({String title = '', List<
CPMapButton> mapButtons = const [], List<CPDashboardButton> dashboardButtons = const [], List<CPMapButton> mapButtonsWhilePanningMode = const [], List<CPBarButton> barButtonsWhilePanningMode = const [], bool isPanningInterfaceVisible = false, String styleUrl = ''}) - Creates CPMapTemplate
Properties
-
Automatically hides the navigation bar when the map template is visible.
getter/setter pair
-
barButtonsWhilePanningMode
↔ List<
CPBarButton> -
An array of bar buttons to be displayed on the navigation bar while panning.
getter/setter pair
-
dashboardButtons
↔ List<
CPDashboardButton> -
An array of dashboard buttons as CPDashboardButton displayed on the template.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Hides the buttons in the navigation bar when the map template is visible.
getter/setter pair
- isPanningInterfaceVisible ↔ bool
-
Whether the map template is in panning mode.
getter/setter pair
-
An array of bar buttons to be displayed on the leading side of the navigation bar.
getter/setter pair
-
mapButtons
↔ List<
CPMapButton> -
The array of map buttons as CPMapButton displayed on the template.
getter/setter pair
-
mapButtonsWhilePanningMode
↔ List<
CPMapButton> -
The array of map buttons as CPMapButton displayed on the template while panning.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleUrl ↔ String
-
getter/setter pair
- title ↔ String
-
A title will be shown in the navigation bar.
getter/setter pair
-
An array of bar buttons to be displayed on the trailing side of the navigation bar.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited