new ScaleLine(vendorOptions)
facade/js/control/ScaleLine.js, line 24
Name | Type | Description |
---|---|---|
vendorOptions |
Object |
vendor options for the base library |
Extends
- M.Control
Members
-
module:M/control/ScaleLine~ScaleLine.NAME{string}
-
Template for this controls - button
Methods
-
createView(map){Promise}
facade/js/control/ScaleLine.js, line 45 -
This function creates the view to the specified map
Name Type Description map
M.Map map to add the control
Returns:
html response
-
equals()
facade/js/control/ScaleLine.js, line 56 -
This function checks if an object is equals to this control