object MapNavigation
- Alphabetic
- By Inheritance
- MapNavigation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(buttonOptions: UndefOr[CleanJsObject[MapNavigationButtonOptions]] = js.undefined, buttons: UndefOr[CleanJsObject[MapNavigationButtons]] = js.undefined, enableButtons: UndefOr[Boolean] = js.undefined, enableDoubleClickZoom: UndefOr[Boolean] = js.undefined, enableDoubleClickZoomTo: UndefOr[Boolean] = js.undefined, enableMouseWheelZoom: UndefOr[Boolean] = js.undefined, enableTouchZoom: UndefOr[Boolean] = js.undefined, enabled: UndefOr[Boolean] = js.undefined, mouseWheelSensitivity: UndefOr[Double] = js.undefined): MapNavigation
- buttonOptions
General options for the map navigation buttons. Individual options can be given from the mapNavigation.buttons option set.
- buttons
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.- enableButtons
Whether to enable navigation buttons. By default it inherits the enabled setting.
- enableDoubleClickZoom
Enables zooming in on an area on double clicking in the map. By default it inherits the enabled setting.
- enableDoubleClickZoomTo
Whether to zoom in on an area when that area is double clicked.
- enableMouseWheelZoom
Enables zooming by mouse wheel. By default it inherits the enabled setting.
- enableTouchZoom
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.
- enabled
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 mousewheel zoom is enabled, it breaks the default behaviour of these interactions in the website, and the implementer should be aware of this.. Individual interactions can be enabled separately, namely buttons, multitouch zoom, double click zoom, double click zoom to element and mousewheel zoom.
- mouseWheelSensitivity
Sensitivity of mouse wheel or trackpad scrolling. 1 is no sensitivity, while with 2, one mousewheel delta will zoom in 50%.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )