multiRouter.masstransit.StopModel
Note. The constructor of the multiRouter.masstransit.StopModel class is hidden, as this class is not intended for autonomous initialization.
Extends IEventEmitter.
Data model for a stop on a transportation segment of a public transport route.
Creates the data model for a stop of a transport segment.
Fields
Name | Type | Description |
---|---|---|
events | IEventManager | Event manager. Inherited from IEventEmitter. |
geometry | geometry.base.Point | Geometry of the stop. |
properties | data.Manager | Stop data.
The following fields are available:
|
segment | multiRouter.masstransit.TransportSegmentModel | Reference to the parent model of the transit segment. |
Name | Type | Description |
---|---|---|
events | IEventManager | Event manager. Inherited from IEventEmitter. |
geometry | geometry.base.Point | Geometry of the stop. |
properties | data.Manager | Stop data.
The following fields are available:
|
segment | multiRouter.masstransit.TransportSegmentModel | Reference to the parent model of the transit segment. |
Events
Methods
Fields details
geometry
{geometry.base.Point} geometry
Geometry of the stop.
properties
{data.Manager} properties
Stop data.
The following fields are available:
- Integer - The ordinal number of the stop in the set of stops corresponding to the transit segment.
- id: String - The stop ID.
- name: String - The name of the stop.
- lodIndex: Integer - The ordinal number of the stop point in the full set of coordinates of the corresponding route path.
segment
Reference to the parent model of the transit segment.
Events details
update
Updating the model with new data. Instance of the Event class.