Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
ControlScaleOptions.Builder |
ControlScaleOptions.Builder.imperial(java.lang.Boolean imperial)
Whether to show the imperial scale line (mi/ft).
|
ControlScaleOptions.Builder |
ControlScaleOptions.Builder.maxWidth(java.lang.Number maxWidth)
Maximum width of the control in pixels.
|
ControlScaleOptions.Builder |
ControlScaleOptions.Builder.metric(java.lang.Boolean metric)
Whether to show the metric scale line (m/km).
|
ControlScaleOptions.Builder |
ControlScaleOptions.Builder.position(java.lang.String position)
The position of the control (one of the map corners
possible values: "topleft", "topright", "bottomleft", "bottomright" |
ControlScaleOptions.Builder |
ControlScaleOptions.Builder.updateWhenIdle(java.lang.Boolean updateWhenIdle)
If true, the control is updated on moveend, otherwise it's always up-to-date (updated on move).
|