HippodromeEditorService
yourself:AngularCesiumWidgetsModule
therefor you must import it. HippodromeEditorService
works together with <hippodrome-editor>
component. Therefor you need to create <hippodrome-editor>
for each HippodromeEditorService
of course somewhere under <ac-map>
create()
and edit()
methods:create(options?: HippodromeEditOptions, eventPriority?: number)
HippodromeEditorObservable
edit(positions: Cartesian3[], options?: HippodromeEditOptions, priority?: number)
HippodromeEditorObservable
HippodromeEditOptions
:addPointEvent
- Set Cesium event for adding last point, default: LEFT_CLICK
addPointModifier
- Set Cesium event modifier for adding point, default: none
dragPointModifier
- Set Cesium event modifier for draging a point, default: LEFT_DRAG
dragPointModifier
- Set Cesium event modifier for removing a point, default: none
hippodromeProps
- Cylinder customisation properties allowDrag
- allow shape drag, default: false
pickConfiguration
- configure pick behaviour with: pick height and width and drill pick limitsetLabelsRenderFn
- receives a callback that is called every time the shape is redrawn (except when the shape is being dragged). The callback is called with the last shape state and with an array of the current labels.LabelProps[]