Gets or sets the maximum zoom of the map.
Namespace: MindFusion.Mapping
File: MapView.js
SyntaxJavaScript
Copy Code
|
|---|
get maxZoomLevel() {} |
Number. The maxmimum zoom level.
ExampleThe following code creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. Then it sets the minimum and maximum zoom levels:
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; // create a new instance of the mapView |
See Also