Angular-Cesium
Angular cesium fork making it compatible with ivy
Angular library for working with Angular-Cesium.
Angular cesium fork making it compatible with ivy
PolylineEditOptions in PolylinesEditorServicePolygonEditOptions in PolygonsEditorServiceclampHeightTo3D option is true, the allowDrag option should be defined manually. Otherway, it will be false.useGroundPrimitiveOutline parameter to true (default is false) in PolygonEditOptions.polylineProps PolylineEditOptions.polylinePropsCesium.GroundPolylinePrimitive.initializeTerrainHeights()Cesium.Color. Any other type of material may not workfinishCreation() missing functionality for PolygonEditorService and PolylineEditorServicefinishCreation() functionality to shape editors to allow users to finish creation programmatically. MapboxStyleImageryProvider functionalityHippodromeEditorObservable using wrong interfaceContextMenuService can't create instance bug - replace div with ng-templateviewer.destroy() throwing exception TypeError: e[i].destroy is not a function. Added missing destroy() to HtmlCollection.dispose() issue when component is destroyed.edit().undefined errorcreateTileMapServiceImageryProvider and createOpenStreetMapImageryProvider.CesiumHeatMapMaterialCreator removed to avoid compilation warnings. TBD: publish as external library. Points are now first class components that support entity features, such as labels and enable/disable.ng add angular-cesiumng add angular-cesiumPickConfiguration for MapEventManager for setting pick() width, height and drillPick() limit.clampHeightTo3D mode.
using clampHeightTo3DOptions.clampMostDetailed = true.disableDepthTestDistance changed to 0.AcHtml toggle show created new html elements instead of updating the current element.alt, ctrl, shift).ac-map-terrain-provider component which supports Cesium terrain providersac-map-terrain-provider component to demo app to show it's usageCameraService.trackEntity() doc.AcHtmlDesc remove.ContextMenuServicethis.polylineEditor.create({ clampHeightTo3D: true, clampHeightTo3DOptions: {clampToTerrain: true} }); -example suffix.PolygonEditorComponent and PolylinesEditorComponent.availability bug in entities-drawer.service.tsdebug prop to ac-layer component for printing received AcNotificationsclampHeightTo3D parameter to true.polyline-editor-layer.ts and polygon-editor-layer.ts.CameraService zoomOut().disableDepthTestDistance prop)MapsManagerService and other global service to be provided by forRoot() - for lazy loading. viewer configuration (the defualt was setting offline map as the initial imagery).CallbackProperties.onDrag hook into the ac-toolbar component.ac-toolbar to listen in to changes on its allowDrag input and subscribe/unsubscribe dynamically.ZoomToRectangleService options.ZoomToRectangleService options.ZoomToRectangleService options.ac-layer onDestroy.ac-map onDestroy.CircleEditorService shape dragging.ac-model-desc docs #243.AcMap support using ngFor - The optional @Input() containerId in AcMap can be used to place the map canvas in any container / move the canvas to a new container.bind2DMapsCameras() function added to MapsManagerService for binding cameras position in different 2D maps.unbindMapsCameras() function added to MapsManagerService for unbinding maps camera.setRotation() function added to CameraService.lockRotation() function added to CameraService.ZoomToRectangleService was added to AngularCesiumWidgetsModule - a tool for zooming into a rectangle that is drawn on the map.Cesium.CallbackProperty.<ac-czml-desc> component for adding CzmlDataSource to ac-layer.czml-drawer service <czml-layer component in demo app to show usage of <ac-czml-desc>angular2parse reaching angular compiler pipes.AngularCesiumModule.forRoot(ustomPipes: myCustomPipes).
angular-cesium won't be aware of pipes that wont be defined as customPipes.
There for any user Pipes need to be declared when initializing angular cesium.rxjs-compat dependency and refactor to rxjs 6 new import paths. package.json engines section. <range-and-bearing> component that is used to to draw range & bearing on the map.KeyboardControlService docs.maximumNumberOfPoints to PolygonEditOptions - you can now set maximum number of points when creating polygon using PolygonEditorService .KeyboardControlService docs. CameraService.trackEntity() + example in the demo.ac-point-desc changed to Entity instead of Primitive. For primitive use ac-point-primitive-desc.ac-toolbar onDestroy() #217.ac-html element is shown when show initially set to false #216.ellipse-drawer service collection max size cap to 100sim-generator in demo serverSmartAssigner allowUndefined default from true to falseViewerFactory that set CESIUM_BASE_URL if ti wasn't already set.ac-circle-desc radius changing.ac-ellipse-desc & ac-circle-desc updating bugPolygonsEditorService shape dragpickFilter to EventRegistrationInput - you can now pass a filter function to MapEventsManager.register() - in order to filter the returned entities.ac-primitive-polyline - Using primitive drawerngOutletContext to ngTemplateOutletContextHippodromeEditorService is no longer provided by AngularCesiumWidgetsModule, user should provide it himselfCircleEditorService is no longer provided by AngularCesiumWidgetsModule, user should provide it himselfPolylineEditorService is no longer provided by AngularCesiumWidgetsModule, user should provide it himselfPolygonEditorService is no longer provided by AngularCesiumWidgetsModule, user should provide it himselfcalcEllipseContainingRect static function to CesiumHeatMapMaterialCreatorac-toolbar and ac-toolbar-button componentsAngularCesiumEntitiesDrawerModule refactored to AngularCesiumWigetsModuleDraggableToMapDirective directive for dragging icons from outside the map over the map.IconDragService service that exposes an observable that listens to dragging with DraggableToMapDirective.ac-array-desc for representing dynamic arrays in entity - ALPHAEntitesDrawerService show prop bug.setPolygonManually(), setPolylineManually(),setCircleManually(),setHippodromeManually() changed to: setManually().
Each shape accepts here own specific arguments to configure the edited object, for example: polygonEditor$.setManaually(positions, pointOptions, polygonOptions).CircleEditOptions.selectionManagerService and example in selection-layer.component.tsPolylinesEditorService - allow for creating polylines and editing them from the map of from the code.CirclesEditorService - allow for creating circles and editing them from the map of from the code.HippodromeEditorService - allow for creating hippodromes and editing them from the map of from the code.CesiumHeatMapMaterialCreator for creating heatmap material for cesium entities.ac-point-primitive-descac-html-desc - ac-layer supports ac-htmlKeyboardControlService to run outside of angular zone.enableInput(), enableZoom() to CameraService.npm run serverModuleOptions to ModuleConfiguration.done callback to KeyboardControlService definitions - now it's possible to know when the event is done.IGNORED state to KeyboardControlService - now when action returns false it will ignore it until the next event cycle (keydown then keyup)<ac-layer [zIndex]="1"/>, ability to control the layers order.CameraService that is provided by ac-map. The service exposes the scene's camera and screenSpaceCameraController.[sceneMode] attribute to ac-map .ac-billboard-primitive-desc, ac-label-primitive-desc, ac-polyline-primitive-desc. The components uses Cesium Primitives for performance efficient drawing of map entities.KeyboardControlService is now triggered with cesiumService: CesiumService, key: string, keyboardEvent: KeyboardEvent.setEnableTilt, setMaximumZoom, etc... - instead use CameraService that is provided by ac-map.ac-map function getMapEventManager() renamed to getMapEventsManager()maximumZoom, minimumZoom and enableTilt attributes in ac-map were removed. use CameraService instead.ViewersManagerService renamed into MapsManagerService. It now manage ac-map instances. Internal functions changed accordingly to getMap() and registerMap(). The logic remained the same.AngularCesiumModule should be loaded with .forRoot(). Additionally, AngularCesiumModule.forRoot() takes options of type ModuleOptions. Fixes cesium bug (height=0 on entities creates entities with shadows,shadows cant be turn off).onDraw and onRemove for BasicDesc component - now it's possible to know when an Cesium object is drawn.getCesiumObjectsMap from BasicDesc component.MapEventManagerServiceac-box-decac-corridor-decac-cylinder-decac-ellipsoid-decac-polyline-volume-decac-wall-decac-rectangle-decMapEventManagerService from <ac-map #map/> component reference: acMapComponent.getMapEventManager()KeyboardControlService for controlling the camera using the keyboard<ac-3d-tile-layer/> for 3d tilesac-ellipse-descac-polyline-descac-polyline-descac-circle-descac-polygon-descac-polyline-desc and ac-polyline accept Cesium.Color as material in props input.ac-model-descac-map