In Angular-Cesium, graphic entities should be defined in an html template in order to tell Angular-Cesium how to render each entity on the map.
Each entity might be rendered using multiple graphics combined together, For example, my plane entity can be represented by a billboard (the plane icon), a label (the plane name), and a polyline (the plane direction).
Angular-Cesium supports the following cesium graphic entities:
billboard - ac-billboard-desc
/ ac-billboard
/ ac-billboard-primitive-desc
​
label - ac-label-desc
/ ac-label
/ ac-label-primitive-desc
polyline - ac-polyline-desc
/ ac-polyline
/ ac-polyline-primitive-desc
​
point - ac-point-desc
/ ac-point
/ ac-primitive-point
​
ellipse - ac-ellipse-desc
/ ac-ellipse
circle - ac-circle-desc
/ ac-circle
​
polygon - ac-polygon-desc
/ ac-polygon
​
model - ac-model-desc
​
box - ac-box-desc
corridor -ac-corridor-desc
cylinder - ac-cylinder-desc
​
ellipsoid - ac-ellipsoid-desc
​
polyline volume - ac-polyline-volume-desc
​
wall - ac-wall-desc
​
rectangle -ac-rectangle-decc
​
html - ac-html-desc
/ ac-html
arc -ac-arc-dec
array - ac-array-desc
​
czmlPacket - ac-czml-desc
​
All of the entity components are using a flatten Cesium Entities API.
e.g: ac-billboard
props
input accepts a JSON which can have all properties found in Cesium Entity (like position
) plus all properties found in Cesium BillboardGraphics.
In AngularCesium, entities have a default height of 0 (except of Billboards and Labels). This as in line with Cesium docs. For some reason in Cesium itself, the default height is undefined which leads Cesium to use GroundPrimitive which is less efficient. As a result, if you want your entity to be more efficient, set height: 0
or any other value in the props.
In AngularCesium, entities have a default height of 0 (except of Billboards and Labels). This as in line with Cesium docs.
For some reason in Cesium itself, the default height is undefined
which leads Cesium to use GroundPrimitive which is less efficient. As a result, if you want your entity to be more efficient, set height: 0
or any other value in the props.
​
ac-entity-desc
components are used to describe how each entity / array of entities in a stream of entities, managed inside ac-layer
, should be drawn.
ac-entity-primitive-desc
component is the same as ac-entity-desc
with the difference of using Primitives to render the graphics. It is more efficient than ac-entity-desc
when drawing an updating entity.
ac-entity
component is used to draw an entity directly on the map, and so, can be used directly under ac-map
.
​