public class MapTypeControlOptions extends MapObject
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MapTypeControlOptions.Property |
| Constructor and Description |
|---|
MapTypeControlOptions()
Creates new MapTypeControlOptions object.
|
MapTypeControlOptions(Map map)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MapTypeId[] |
getMapTypeIds()
Returns value of mapTypeIds property.
|
ControlPosition |
getPosition()
Returns value of position property.
|
MapTypeControlStyle |
getStyle()
Returns value of style property.
|
void |
setMapTypeIds(MapTypeId[] ids)
Sets new value for mapTypeIds property.
|
void |
setPosition(ControlPosition position)
Sets new value for position property.
|
void |
setStyle(MapTypeControlStyle style)
Sets new value for style property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updatePropertypublic MapTypeControlOptions()
@Deprecated public MapTypeControlOptions(Map map)
map - owner Map objectpublic ControlPosition getPosition()
Represents Position id. Used to specify the position of the control on the map. The default position is TOP_RIGHT.
setPosition(com.teamdev.jxmaps.ControlPosition)public void setPosition(ControlPosition position)
position - new property valuegetPosition()public MapTypeControlStyle getStyle()
Represents Style id. Used to select what style of map type control to display.
setStyle(com.teamdev.jxmaps.MapTypeControlStyle)public void setStyle(MapTypeControlStyle style)
style - new property valuegetStyle()public MapTypeId[] getMapTypeIds()
Contains collection of IDs of map types to show in the control.
setMapTypeIds(com.teamdev.jxmaps.MapTypeId[])public void setMapTypeIds(MapTypeId[] ids)
ids - new property valuegetMapTypeIds()