public class MapTypeStyle extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
MapTypeStyle.ArrayProperty |
Constructor and Description |
---|
MapTypeStyle()
Creates new MapTypeStyle object
|
MapTypeStyle(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MapTypeStyleElementType |
getElementType()
Returns value of elementType property.
|
MapTypeStyleFeatureType |
getFeatureType()
Returns value of featureType property.
|
MapTypeStyler[] |
getStylers()
Returns value of stylers property.
|
void |
setElementType(MapTypeStyleElementType type)
Sets new value for elementType property.
|
void |
setFeatureType(MapTypeStyleFeatureType type)
Sets new value for featureType property.
|
void |
setStylers(MapTypeStyler[] stylers)
Sets new value for stylers property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public MapTypeStyle()
@Deprecated public MapTypeStyle(Map map)
map
- owner Map objectpublic MapTypeStyleElementType getElementType()
Selects the element type to which a styler should be applied. An element type distinguishes between the different representations of a feature. Optional; if elementType is not specified, the value is assumed to be 'all'.
setElementType(com.teamdev.jxmaps.MapTypeStyleElementType)
public void setElementType(MapTypeStyleElementType type)
type
- new property valuegetElementType()
@Nullable public MapTypeStyleFeatureType getFeatureType()
Selects the feature, or group of features, to which a styler should be applied. Optional; if featureType is not specified, the value is assumed to be 'all'.
setFeatureType(com.teamdev.jxmaps.MapTypeStyleFeatureType)
public void setFeatureType(MapTypeStyleFeatureType type)
type
- new property valuegetFeatureType()
public MapTypeStyler[] getStylers()
Represents the style rules to apply to the selectors. The rules are applied to the map's elements in the order they are listed in this array.
setStylers(com.teamdev.jxmaps.MapTypeStyler[])
public void setStylers(MapTypeStyler[] stylers)
stylers
- new property valuegetStylers()