- Fix editors update subscription not being unsubscribed on destroy
- Fix editor labels heightReference can't be set to CLAMP_TO_GROUP
- Allow dragging clamped polygons and polylines.
- The fix concerns:
PolylineEditOptions
inPolylinesEditorService
PolygonEditOptions
inPolygonsEditorService
- Please note:
- If
clampHeightTo3D
option istrue
, theallowDrag
option should be defined manually. Otherway, it will befalse
.
- If
- Added the ability to use ground polyline primitives to improve performance
- Ground polyline primitives can be used:
- as the outline of polygons in polygon editor
- as the line in polyline editor
- Can be enabled by setting the
useGroundPrimitiveOutline
parameter totrue
(default isfalse
) inPolygonEditOptions.polylineProps
PolylineEditOptions.polylineProps
- Please note:
- To use this feature you must wait for the following promise to resolve
Cesium.GroundPolylinePrimitive.initializeTerrainHeights()
- Material parameter can be only of type
Cesium.Color
. Any other type of material may not work
- To use this feature you must wait for the following promise to resolve
- Ground polyline primitives can be used:
- Enhance moving point in editors fix for tablets to accomodate inaccurate taps
- Fix update moving point on editors that don't work properly in tablets
- Fix drag event mistaken for long press event #390
- Fix update moving point on editors that don't work properly in tablets #385
- Fix
finishCreation()
missing functionality forPolygonEditorService
andPolylineEditorService
- Add
finishCreation()
functionality to shape editors to allow users to finish creation programmatically. - Update dependencies
- Upgrade to Angular 11
- Add in
MapboxStyleImageryProvider
functionality
- Fix
HippodromeEditorObservable
using wrong interface - Fix
ContextMenuService
can't create instance bug - replacediv
withng-template
- Fix
viewer.destroy()
throwing exceptionTypeError: e[i].destroy is not a function
. Added missingdestroy()
toHtmlCollection
. - Fix Editors
dispose()
issue when component is destroyed. - Fix Rectangle editor
edit()
.
- Upgrade to Angular 9 (Ivy)
- Fix EllipseEditorObservable Disposing throws
undefined
error - Fix Cesium breaking change with
createTileMapServiceImageryProvider
andcreateOpenStreetMapImageryProvider
.
CesiumHeatMapMaterialCreator
removed to avoid compilation warnings. TBD: publish as external library.
- Add points-editor component, model, and service.
Points
are now first class components that support entity features, such as labels and enable/disable.
- Fix shape editor drag feature - in disable mode dont disable cesium camera rotation.
- Refactor demo project and create: https://github.com/articodeltd/angular-cesium-demo
- Fix
ng add angular-cesium
- Add more stackblitz examples and refactor the demo examples.
- Change Circle, Ellipse and Hippodrome default point color changed to white.
- Fix
ng add angular-cesium
- Add
PickConfiguration
forMapEventManager
for settingpick()
width, height anddrillPick()
limit. - Add support for Polyline and Polygon editors to clamp most detailed ground in
clampHeightTo3D
mode. usingclampHeightTo3DOptions.clampMostDetailed = true
. - Add stackblitz examples to the docs.
- Shape Editor default label
disableDepthTestDistance
changed to 0. - Fix
AcHtml
toggleshow
created new html elements instead of updating the current element.
- Polyline and polygon editor - fix support of events modifiers (
alt
,ctrl
,shift
). - Polyline and polygon editor - fix screen position to geo position.
- Added a rectangle drawing editor widget
- Added an example rectangle component in the demo app
- Added
ac-map-terrain-provider
component which supports Cesium terrain providers - Added
ac-map-terrain-provider
component to demo app to show it's usage
- Fix
CameraService.trackEntity()
doc. - Fix
AcHtmlDesc
remove. - Add doc to the
ContextMenuService
- Add support for terrain in Polygon and Polyline Editors.
- To enable terrain support:
this.polylineEditor.create({ clampHeightTo3D: true, clampHeightTo3DOptions: {clampToTerrain: true} });
- Demo layers name change to
-example
suffix. - Updated library and demo application to Angular 8
- Bumped CircleCI Node version to 10.16.1
- Fix AOT build - remove unwanted type in
PolygonEditorComponent
andPolylinesEditorComponent
. - Fix entity
availability
bug inentities-drawer.service.ts
- Added
debug
prop toac-layer
component for printing received AcNotifications - Polygon Editor and Polyline Editor support 3D tiles and terrain, to enable set
clampHeightTo3D
parameter totrue
. - Added examples for 3D mode in
polyline-editor-layer.ts
andpolygon-editor-layer.ts
. - Add Angular CLI schematics
- Fix
CameraService
zoomOut(). - Fix Shape editors not cloning geometries props
- Change Shape editor points to be shown above the lines (uses
disableDepthTestDistance
prop) - Fixed demo app unit tests
- Updated README with instructions for including Cesium scripts in test config
- Added use of the 'availability' field inside of the Cesium entity API
- Add
MapsManagerService
and other global service to be provided byforRoot()
- for lazy loading.
- Remove default
viewer
configuration (the defualt was setting offline map as the initial imagery). - Change editors initial props - different color and outline.
- Change editors initial props - to use Cesium
CallbackProperties
.
- Added
onDrag
hook into theac-toolbar
component. - Altered
ac-toolbar
to listen in to changes on itsallowDrag
input and subscribe/unsubscribe dynamically. - Added threshold option to
ZoomToRectangleService
options. - Added keepRotation option to
ZoomToRectangleService
options. - Added mouseButton option to
ZoomToRectangleService
options.
- New Angular CLI build system.
- Fixed
ac-layer
onDestroy. - Fixed
ac-map
onDestroy. - Fixed
CircleEditorService
shape dragging. - Fixed
ac-model-desc
docs #243. - Fixed entities drawing directly to map - without ac-layer #212.
- Fixed plonter behavior.
- Multiple
AcMap
support usingngFor
- The optional@Input() containerId
inAcMap
can be used to place the map canvas in any container / move the canvas to a new container. - New
bind2DMapsCameras()
function added toMapsManagerService
for binding cameras position in different 2D maps. - New
unbindMapsCameras()
function added toMapsManagerService
for unbinding maps camera. - New
setRotation()
function added toCameraService
. - New
lockRotation()
function added toCameraService
. - New
ZoomToRectangleService
was added toAngularCesiumWidgetsModule
- a tool for zooming into a rectangle that is drawn on the map. - Added initial support for
Cesium.CallbackProperty
. - Added new ellipses shape editor that can be used to draw circles and ellipses.
- New
<ac-czml-desc>
component for adding CzmlDataSource to ac-layer. - New
czml-drawer
service - New
<czml-layer
component in demo app to show usage of<ac-czml-desc>
- Support RxJs 6
- Fixed AOT compilation for angular 6, the issue was with
angular2parse
reaching angular compiler pipes. - Fixed Shape editors points zIndex in 2D.
- Updated demo dependencies
- From now Angular Pipes need to be set in
AngularCesiumModule.forRoot(ustomPipes: myCustomPipes)
. angular-cesium won't be aware of pipes that wont be defined ascustomPipes
. There for any user Pipes need to be declared when initializing angular cesium. - For upgrade to 0.53 from older versions remove
rxjs-compat
dependency and refactor to rxjs 6 new import paths.
- Fixed shape editors 2D points bug - remove height reference
- Fixed polygon editor moving point updates
- Fixed
package.json
engines section.
- New
<range-and-bearing>
component that is used to to draw range & bearing on the map. - Refactored
KeyboardControlService
docs. - Added
maximumNumberOfPoints
toPolygonEditOptions
- you can now set maximum number of points when creating polygon usingPolygonEditorService
. - Refactored
KeyboardControlService
docs. - Added flyTo options to
CameraService.trackEntity()
+ example in the demo.
ac-point-desc
changed to Entity instead of Primitive. For primitive useac-point-primitive-desc
.
- Fixed mistakenly rejecting Observables from other contexts
- Fixed
ac-toolbar
onDestroy() #217. - Fixed
ac-html
element is shown when show initially set to false #216. - Changed
ellipse-drawer
service collection max size cap to 100 - Fixed
sim-generator
in demo server - Changed
SmartAssigner
allowUndefined default from true to false - Removed deprecated code in
ViewerFactory
that set CESIUM_BASE_URL if ti wasn't already set.
- Fixed
ac-circle-desc
radius changing. - Fixed
ac-ellipse-desc
&ac-circle-desc
updating bug
- Some minor fixes
- Improved shape editors performance
- Fixed undragable editable hippodrome
- Fixed editable hippodrome updating
- Fixed editing multiple shapes of the same type simultaneously
- Labels of editable shapes now update on mouse move
- Update Cesium version to 1.41.0
- Fixed
PolygonsEditorService
shape drag
- Added
pickFilter
toEventRegistrationInput
- you can now pass a filter function toMapEventsManager.register()
- in order to filter the returned entities.
- Fixed editing of multiple shapes simultaneously
- Upgraded to Angular 5
- Fixed aot build
- Fix range and bearing example
- Added
ac-primitive-polyline
- Using primitive drawer
- Html Primitive - change primitive screen position to Cesium.Cartesian2
- Fix demo typescript compilation
- Fix project implicit any
- Change
ngOutletContext
tongTemplateOutletContext
- Hippodrome Editor - Expose hippodrome width
HippodromeEditorService
is no longer provided byAngularCesiumWidgetsModule
, user should provide it himselfCircleEditorService
is no longer provided byAngularCesiumWidgetsModule
, user should provide it himselfPolylineEditorService
is no longer provided byAngularCesiumWidgetsModule
, user should provide it himselfPolygonEditorService
is no longer provided byAngularCesiumWidgetsModule
, user should provide it himself
- Added
calcEllipseContainingRect
static function toCesiumHeatMapMaterialCreator
- Added
ac-toolbar
andac-toolbar-button
components - Added toolbar example and flyTo home toolbar option
- Added Range and bearing example
AngularCesiumEntitiesDrawerModule
refactored toAngularCesiumWigetsModule
- Fixed a bug in editors.
- Added customizable labels to shape editors.
- Added
DraggableToMapDirective
directive for dragging icons from outside the map over the map. - Added
IconDragService
service that exposes an observable that listens to dragging withDraggableToMapDirective
.
- fix missing Cartesian3 typings
- Polyline edtior supports drag shape events.
- Add ability to change width to Hippodrome editor
- Added
ac-array-desc
for representing dynamic arrays in entity - ALPHA
- Hippodrome editor - setManually supports positions and hippodrome width.
- Fixed Polygons Editing bug that happened when dragging a point.
- Fixed Polyline Editing bug that happened when dragging a point.
- Fixed
EntitesDrawerService
show prop bug.
- Observer Editors methods:
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)
.
- All editors now except allowDrag option to allow or disable the ability to drag the edited shape.
- Added options to circle editor -
CircleEditOptions
.
- Fix hippodrome editor outline bug.
- Fixed bug that caused polygons hiding to throw an error if they had outline.
- Service init order #131
- Added
selectionManagerService
and example in selection-layer.component.ts - Added context menu service that allows dynamic injection of custom components.
- Added Polyline editor
PolylinesEditorService
- allow for creating polylines and editing them from the map of from the code. - Added Circle editor
CirclesEditorService
- allow for creating circles and editing them from the map of from the code. - Added Hippodrome editor
HippodromeEditorService
- allow for creating hippodromes and editing them from the map of from the code. - Added
CesiumHeatMapMaterialCreator
for creating heatmap material for cesium entities. - edited polygons are now draggable.
- added
ac-point-primitive-desc
- added
ac-html-desc
- ac-layer supports ac-html
- polygon editor(alpha) - edit points manually.
- polygon editor(alpha) - edit mode, disable,enable, add points to the editor result.
- added screenshot service
- polygon editor - alpha
- fix draw on map example
- Allow
KeyboardControlService
to run outside of angular zone.
- Added
enableInput()
,enableZoom()
toCameraService
.
- Fixed bug removed default height 0
- Fixed AngularCesiumModule loading
- Fixed
npm run server
- Renamed
ModuleOptions
toModuleConfiguration
.
- Added
done
callback toKeyboardControlService
definitions - now it's possible to know when the event is done. - Added internal
IGNORED
state toKeyboardControlService
- now when action returnsfalse
it will ignore it until the next event cycle (keydown then keyup) - Added zIndex to
<ac-layer [zIndex]="1"/>
, ability to control the layers order. - Added
CameraService
that is provided byac-map
. The service exposes the scene's camera and screenSpaceCameraController. - Added
[sceneMode]
attribute toac-map
. - Added new components:
ac-billboard-primitive-desc
,ac-label-primitive-desc
,ac-polyline-primitive-desc
. The components uses Cesium Primitives for performance efficient drawing of map entities.
- Event triggered from
KeyboardControlService
is now triggered withcesiumService: CesiumService, key: string, keyboardEvent: KeyboardEvent
. - CesiumService no longer supports camera actions such as
setEnableTilt
,setMaximumZoom
, etc... - instead use CameraService that is provided byac-map
. ac-map
functiongetMapEventManager()
renamed togetMapEventsManager()
maximumZoom
,minimumZoom
andenableTilt
attributes inac-map
were removed. useCameraService
instead.ViewersManagerService
renamed intoMapsManagerService
. It now manage ac-map instances. Internal functions changed accordingly togetMap()
andregisterMap()
. The logic remained the same.AngularCesiumModule
should be loaded with.forRoot()
. Additionally,AngularCesiumModule.forRoot()
takes options of typeModuleOptions
. Fixes cesium bug (height=0 on entities creates entities with shadows,shadows cant be turn off).
- Exposed
onDraw
andonRemove
forBasicDesc
component - now it's possible to know when an Cesium object is drawn. - Exposed
getCesiumObjectsMap
fromBasicDesc
component. - Added drag and drop event to
MapEventManagerService
- Added new drawable entities:
ac-box-dec
ac-corridor-dec
ac-cylinder-dec
ac-ellipsoid-dec
ac-polyline-volume-dec
ac-wall-dec
ac-rectangle-dec
- Expose
MapEventManagerService
from<ac-map #map/>
component reference:acMapComponent.getMapEventManager()
- New
KeyboardControlService
for controlling the camera using the keyboard - add
<ac-3d-tile-layer/>
for 3d tiles
- deprecated:
- AcStaticEllipseDescComponent, instead use
ac-ellipse-desc
- AcDynamicPolylineDescComponent, instead use
ac-polyline-desc
- AcStaticPolylineDescComponent, instead use
ac-polyline-desc
- AcStaticCircleDescComponent, instead use
ac-circle-desc
- AcStaticPolygonDescComponent, instead use
ac-polygon-desc
- AcStaticEllipseDescComponent, instead use
- MapEventManagerService: EventResult.primitives changed to EventResult.cesiumEntities
ac-polyline-desc
andac-polyline
accept Cesium.Color as material in props input.
- support models
ac-model-desc
- ac-map-layer-provider - Support all cesium imagery providers
- Expose cesium viewer through ViewesManagerService and
ac-map
- AcEntity id filed changed to string from number
- AcNotification id filed changed to string from number