public static class Scalebar.Parameters
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
void |
_setMap(com.google.gwt.core.client.JavaScriptObject map) |
static Scalebar.Parameters |
create() |
void |
setAttachTo(Scalebar.AttachTo attachTo) |
void |
setMap(MapWidget map) |
void |
setScalebarUnit(Scalebar.ScalebarUnit unit) |
public static Scalebar.Parameters create()
public final void setAttachTo(Scalebar.AttachTo attachTo)
attachTo
- - Specify the scalebar position on the map. Valid options are "top-right",
"bottom-right","top-center","bottom-center","bottom-left","top-left". The default value
is "bottom-left".public final void setMap(MapWidget map)
map
- - Reference to the map. The map parameter is required.public final void _setMap(com.google.gwt.core.client.JavaScriptObject map)
public final void setScalebarUnit(Scalebar.ScalebarUnit unit)
unit
- - Specify the scalebar units. Valid values are "english" or "metric".
The default value is "english".