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