Gets the map's vertical scroll position relative to the control bounds.
Namespace: MindFusion.Mapping
File: MapView.js
JavaScript Copy Code |
---|
get scrollY() {} |
Number. A number specifying the vertical scroll position.
The 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 scrolls 300 pixels horizontally and 150 pixels vertically:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |