Gets or sets a value indicating whether mouse wheel zooming is enabled.
Namespace: MindFusion.Mapping
File: MapView.js
SyntaxJavaScript
Copy Code
|
|---|
get allowZoom() {} |
Boolean. True if mouse wheel zooming is enabled, otherwise false.
ExampleThe following code creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page and enables zooming for this view:
JavaScript
Copy Code
|
|---|
// create a new instance of the mapView // create a map layer |
See Also