HighchartsMapNavigationOptions class
The mapNavigation
option handles buttons for navigation in addition to
mousewheel
and doubleclick
handlers for map zooming.
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsMapNavigationOptions
Constructors
-
The
mapNavigation
option handles buttons for navigation in addition tomousewheel
anddoubleclick
handlers for map zooming.
Properties
-
General options for the map navigation buttons. Individual options
can be given from the mapNavigation.buttons
option set.
getter/setter pair
-
The individual buttons for the map navigation. This usually includes
the zoom in and zoom out buttons. Properties for each button is
inherited from
mapNavigation.buttonOptions, while
individual options can be overridden. But default, the
onclick
,text
andy
options are individual.getter/setter pair - enableButtons ↔ bool?
-
Whether to enable navigation buttons. By default it inherits the
enabled setting.
getter/setter pair
- enabled ↔ bool?
-
Whether to enable map navigation. The default is not to enable
navigation, as many choropleth maps are simple and don't need it.
Additionally, when touch zoom and mouse wheel zoom is enabled, it breaks
the default behaviour of these interactions in the website, and the
implementer should be aware of this.
getter/setter pair
- enableDoubleClickZoom ↔ bool?
-
Enables zooming in on an area on double clicking in the map. By default
it inherits the enabled setting.
getter/setter pair
- enableDoubleClickZoomTo ↔ bool?
-
Whether to zoom in on an area when that area is double clicked.
getter/setter pair
- enableMouseWheelZoom ↔ bool?
-
Enables zooming by mouse wheel. By default it inherits the enabled setting.
getter/setter pair
- enableTouchZoom ↔ bool?
-
Whether to enable multitouch zooming. Note that if the chart covers the
viewport, this prevents the user from using multitouch and touchdrag on
the web page, so you should make sure the user is not trapped inside the
chart. By default it inherits the enabled
setting.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mouseWheelSensitivity ↔ double?
-
Sensitivity of mouse wheel or trackpad scrolling. 1 is no sensitivity,
while with 2, one mouse wheel delta will zoom in 50%.
getter/setter pair
- 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
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited