Class: Planning

Tools.VirtualCity Planning

Planning

new Planning()

modules/tools/virtualCity/planning.js, line 34
Planning Instance of the virtualcitysystems PlanningService, a container for 3d models, vector layer and viewpoints
Properties:
Name Type Description
id string id of the planning
url string url of the virtualcitysystems planning service
hiddenObjects Array list of ids to hide in the base datasets
planningObjects Array list of planningObjects
viewpoints Array list of planning viewpoints
flights Array list of planning flights
Fires:
Listens to Events:

Extends

Methods

activate(){Promise}

modules/tools/virtualCity/planning.js, line 130
activates the planning project and jumps to the default Viewpoint
Fires:
Returns:
which returns when the planning has been loaded and activated

clearHiddenObjects(){void}

modules/tools/virtualCity/planning.js, line 200
clears the ids of the hiddenObjects on the existing compatible layers
Fires:
  • ModelList#event:RadioRequestModelListGetModelsByAttributes

deactivate(){Promise}

modules/tools/virtualCity/planning.js, line 156
deactivates the planning project
Returns:
which returns when the planning has been loaded and deactivated

getFlights(){Array.<FlightInstance>}

modules/tools/virtualCity/planning.js, line 220
returns the flightInstances of this planning
Returns:
of flightInstances

getViewpoints(){Array.<Object>}

modules/tools/virtualCity/planning.js, line 212
returns the viewpoint Objects of this planning
Returns:
of viewpoint objects

gotoViewpoint(viewpointId){void}

modules/tools/virtualCity/planning.js, line 176
goto the specific viewpoint
Name Type Description
viewpointId string viewpointId
Fires:

initializePlanning(){Promise}

modules/tools/virtualCity/planning.js, line 48
initializes the Planning, fetches the data from the server and creates all the layer elements
Listens to Events:
Returns:
which resolves when the planning is loaded.

setHiddenObjects(){void}

modules/tools/virtualCity/planning.js, line 187
sets the ids of the hiddenObjects on the existing compatible layers
Fires:
  • ModelList#event:RadioRequestModelListGetModelsByAttributes