Gets or sets the visibility of the built-in zoom controller.
Namespace: MindFusion.Mapping
File: MapView.js
SyntaxJavaScript
Copy Code
|
|---|
get showZoomController() {} |
Boolean. True if the controller is visible, 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 its layer and zoom controllers:
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; // create a new instance of the mapView |
See Also