@JsType(isNative=true, namespace="<global>", name="Object") public class ControlScaleOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ControlScaleOptions.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getImperial()
Gets Whether to show the imperial scale line (mi/ft).
|
double |
getMaxWidth()
Gets Maximum width of the control in pixels.
|
boolean |
getMetric()
Gets Whether to show the metric scale line (m/km).
|
String |
getPosition()
Gets the position of the control (one of the map corners)
default "bottomleft"
|
boolean |
getUpdateWhenIdle()
Gets whether the control is updated on moveend, otherwise it's always up-to-date (updated on move).
|
@JsOverlay public final String getPosition()
@JsOverlay public final double getMaxWidth()
@JsOverlay public final boolean getMetric()
@JsOverlay public final boolean getImperial()
@JsOverlay public final boolean getUpdateWhenIdle()
Copyright © 2018 G-Widgets. All rights reserved.