public class ScaleControlOptions extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
ScaleControlOptions.Property |
Constructor and Description |
---|
ScaleControlOptions()
Creates new ScaleControlOptions object.
|
ScaleControlOptions(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScaleControlStyle |
getStyle()
Returns value of style property.
|
void |
setStyle(ScaleControlStyle style)
Sets new value for style property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public ScaleControlOptions()
@Deprecated public ScaleControlOptions(Map map)
map
- owner Map objectpublic ScaleControlStyle getStyle()
Contains the style id. Used to select what style of scale control to display.
setStyle(com.teamdev.jxmaps.ScaleControlStyle)
public void setStyle(ScaleControlStyle style)
style
- new property valuegetStyle()