public class TransitStop extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
TransitStop.Property |
Constructor and Description |
---|
TransitStop()
Creates new TransitStop object.
|
TransitStop(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LatLng |
getLocation()
Returns value of location property.
|
java.lang.String |
getName()
Returns value of name property.
|
void |
setLocation(LatLng value)
Sets new value for location property.
|
void |
setName(java.lang.String value)
Sets new value for name property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public TransitStop()
@Deprecated public TransitStop(Map map)
map
- owner Map objectpublic java.lang.String getName()
Contains the name of this transit stop.
setName(java.lang.String)
public void setName(java.lang.String value)
value
- new property valuegetName()
public LatLng getLocation()
Contains the location of this stop.
setLocation(com.teamdev.jxmaps.LatLng)
public void setLocation(LatLng value)
value
- new property valuegetLocation()