class MapNavigation extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
mapNavigation
- Alphabetic
- By Inheritance
- MapNavigation
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MapNavigation()
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buttonOptions: UndefOr[CleanJsObject[MapNavigationButtonOptions]]
General options for the map navigation buttons.
General options for the map navigation buttons. Individual options can be given from the mapNavigation.buttons option set.
Example: -
val
buttons: UndefOr[CleanJsObject[MapNavigationButtons]]
The individual buttons for the map navigation.
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. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
enableButtons: UndefOr[Boolean]
Whether to enable navigation buttons.
Whether to enable navigation buttons. By default it inherits the enabled setting.
-
val
enableDoubleClickZoom: UndefOr[Boolean]
Enables zooming in on an area on double clicking in the map.
Enables zooming in on an area on double clicking in the map. By default it inherits the enabled setting.
-
val
enableDoubleClickZoomTo: UndefOr[Boolean]
Whether to zoom in on an area when that area is double clicked.
Whether to zoom in on an area when that area is double clicked.
Example: -
val
enableMouseWheelZoom: UndefOr[Boolean]
Enables zooming by mouse wheel.
Enables zooming by mouse wheel. By default it inherits the enabled setting.
-
val
enableTouchZoom: UndefOr[Boolean]
Whether to enable multitouch zooming.
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.
-
val
enabled: UndefOr[Boolean]
Whether to enable map navigation.
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.
-
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
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
mouseWheelSensitivity: UndefOr[Double]
Sensitivity of mouse wheel or trackpad scrolling.
Sensitivity of mouse wheel or trackpad scrolling. 1 is no sensitivity, while with 2, one mousewheel delta will zoom in 50%.
- Since
4.2.4
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
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( ... )