ScaleBarViewModel
require(["esri/widgets/ScaleBar/ScaleBarViewModel"], function(ScaleBarViewModel) { /* code goes here */ });
Class:
esri/widgets/ScaleBar/ScaleBarViewModel
Inheritance: ScaleBarViewModel Accessor
Since: ArcGIS API for JavaScript 4.3
Provides the logic for the ScaleBar widget.
Constructors
- new ScaleBarViewModel(properties)
- Parameter:properties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Any properties can be set, retrieved or listened to. See the Working with Properties topic.
Name | Type | Summary | Class | |
---|---|---|---|---|
String | The name of the class. more details | more details | Accessor | |
MapView | The view from which the widget will operate. more details | more details | ScaleBarViewModel |
Property Details
- Since: ArcGIS API for JavaScript 4.7
The name of the class. The declared class name is formatted as
esri.folder.className
.
- view MapView
The view from which the widget will operate.
Loading...