public class StyledMapType extends MapObject
Constructor and Description |
---|
StyledMapType(Map map,
MapTypeStyle[] styles)
Creates new StyledMapType object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlt()
Returns value of alt property.
|
double |
getMaxZoom()
Returns value of maxZoom property.
|
double |
getMinZoom()
Returns value of minZoom property.
|
java.lang.String |
getName()
Returns value of name property.
|
double |
getRadius()
Returns value of radius property.
|
void |
setAlt(java.lang.String value)
Sets new value for alt property.
|
void |
setMaxZoom(double zoom)
Sets new value for maxZoom property.
|
void |
setMinZoom(double zoom)
Sets new value for minZoom property.
|
void |
setName(java.lang.String value)
Sets new value for name property.
|
void |
setRadius(double radius)
Sets new value for radius property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public StyledMapType(Map map, MapTypeStyle[] styles)
map
- owner Map objectstyles
- list of styles associated with this typepublic java.lang.String getAlt()
Contains the text to display when this MapType's button is hovered over in the map type control.
setAlt(java.lang.String)
public void setAlt(java.lang.String value)
value
- new property valuegetAlt()
public double getMaxZoom()
Contains the maximum zoom level for the map when displaying this MapType. Optional.
setMaxZoom(double)
public void setMaxZoom(double zoom)
zoom
- new property valuegetMaxZoom()
public double getMinZoom()
Contains the minimum zoom level for the map when displaying this MapType. Optional.
setMinZoom(double)
public void setMinZoom(double zoom)
zoom
- new property valuegetMinZoom()
public java.lang.String getName()
Contains the name to display in the map type control.
setName(java.lang.String)
public void setName(java.lang.String value)
value
- new property valuegetName()
public double getRadius()
Contains the radius
setRadius(double)
public void setRadius(double radius)
radius
- new property valuegetRadius()