| |
- add(poiID, x, y, color, poiType='', layer=0)
- getColor(poiID)
- getColor(string) -> (integer, integer, integer, integer)
Returns the rgba color of the given poi.
- getContextSubscriptionResults(poiID=None)
- getIDCount()
- getIDCount() -> integer
Returns the number of pois in the network.
- getIDList()
- getIDList() -> list(string)
Returns a list of ids of all poi.
- getPosition(poiID)
- getPosition(string) -> (double, double)
Returns the position coordinates of the given poi.
- getSubscriptionResults(poiID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given poi.
If no poi id is given, all subscription results are returned in a dict.
If the poi id is unknown or the subscription did for any reason return no data,
'None' is returned.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- getType(poiID)
- getType(string) -> string
Returns the (abstract) type of the poi.
- remove(poiID, layer=0)
- setColor(poiID, color)
- setColor(string, (integer, integer, integer, integer)) -> None
Sets the rgba color of the poi.
- setPosition(poiID, x, y)
- setPosition(string, (double, double)) -> None
Sets the position coordinates of the poi.
- setType(poiID, poiType)
- setType(string, string) -> None
Sets the (abstract) type of the poi.
- subscribe(poiID, varIDs=(66,), begin=0, end=2147483647)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more poi values for the given interval.
- subscribeContext(poiID, domain, dist, varIDs=(66,), begin=0, end=2147483647)
|