Index

projects/angular-cesium/src/lib/angular-cesium/cesium-enhancements/ConfigurationService.ts

ANGULAR_CESIUM_CONFIG
ANGULAR_CESIUM_CONFIG:
Default value : new InjectionToken('ANGULAR_CESIUM_CONFIG')

projects/angular-cesium/src/lib/angular-cesium/cesium-enhancements/StaticGeometryColorBatch.ts

AssociativeArray
AssociativeArray:
Default value : Cesium.AssociativeArray

Fix for the constant entity shadowing. PR in Cesium repo: https://github.com/AnalyticalGraphicsInc/cesium/pull/5736

BoundingSphereState
BoundingSphereState:
Default value : Cesium.BoundingSphereState
Color
Color:
Default value : Cesium.Color
ColorGeometryInstanceAttribute
ColorGeometryInstanceAttribute:
Default value : Cesium.ColorGeometryInstanceAttribute
ColorMaterialProperty
ColorMaterialProperty:
Default value : Cesium.ColorMaterialProperty
colorScratch
colorScratch:
Default value : new Color()
defaultDistanceDisplayCondition
defaultDistanceDisplayCondition:
Default value : new DistanceDisplayCondition()
defined
defined:
Default value : Cesium.defined
DistanceDisplayCondition
DistanceDisplayCondition:
Default value : Cesium.DistanceDisplayCondition
DistanceDisplayConditionGeometryInstanceAttribute
DistanceDisplayConditionGeometryInstanceAttribute:
Default value : Cesium.DistanceDisplayConditionGeometryInstanceAttribute
distanceDisplayConditionScratch
distanceDisplayConditionScratch:
Default value : new DistanceDisplayCondition()
MaterialProperty
MaterialProperty:
Default value : Cesium.MaterialProperty
Primitive
Primitive:
Default value : Cesium.Primitive
Property
Property:
Default value : Cesium.Property
ShadowMode
ShadowMode:
Default value : Cesium.ShadowMode
ShowGeometryInstanceAttribute
ShowGeometryInstanceAttribute:
Default value : Cesium.ShowGeometryInstanceAttribute
wasFixed
wasFixed:
Default value : false

projects/angular-cesium/src/lib/angular-cesium/services/keyboard-control/predefined-actions.ts

CAMERA_LOOK_DEFAULT_FACTOR
CAMERA_LOOK_DEFAULT_FACTOR: number
Type : number
Default value : 0.01
CAMERA_MOVEMENT_DEFAULT_FACTOR
CAMERA_MOVEMENT_DEFAULT_FACTOR: number
Type : number
Default value : 100.0
CAMERA_ROTATE_DEFAULT_FACTOR
CAMERA_ROTATE_DEFAULT_FACTOR: number
Type : number
Default value : 0.01
CAMERA_TWIST_DEFAULT_FACTOR
CAMERA_TWIST_DEFAULT_FACTOR: number
Type : number
Default value : 0.01
PREDEFINED_KEYBOARD_ACTIONS
PREDEFINED_KEYBOARD_ACTIONS: literal type
Type : literal type
Default value : { /** * Moves the camera forward, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_FORWARD]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveForward(moveRate); }, /** * Moves the camera backward, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_BACKWARD]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveBackward(moveRate); }, /** * Moves the camera up, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_UP]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveUp(moveRate); }, /** * Moves the camera down, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_DOWN]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveDown(moveRate); }, /** * Moves the camera right, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_RIGHT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveRight(moveRate); }, /** * Moves the camera left, accepts a numeric parameter named `moveRate` that controls * the factor of movement, according to the camera height. */ [KeyboardAction.CAMERA_LEFT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const scene = cesiumService.getScene(); const cameraHeight = scene.globe.ellipsoid.cartesianToCartographic(camera.position).height; const moveRate = cameraHeight / (params.moveRate || CAMERA_MOVEMENT_DEFAULT_FACTOR); camera.moveLeft(moveRate); }, /** * Changes the camera to look to the right, accepts a numeric parameter named `lookFactor` that controls * the factor of looking, according to the camera current position. */ [KeyboardAction.CAMERA_LOOK_RIGHT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const currentPosition = camera.positionCartographic; const lookFactor = params.lookFactor || CAMERA_LOOK_DEFAULT_FACTOR; camera.lookRight(currentPosition.latitude * lookFactor); }, /** * Changes the camera to look to the left, accepts a numeric parameter named `lookFactor` that controls * the factor of looking, according to the camera current position. */ [KeyboardAction.CAMERA_LOOK_LEFT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const currentPosition = camera.positionCartographic; const lookFactor = params.lookFactor || CAMERA_LOOK_DEFAULT_FACTOR; camera.lookLeft(currentPosition.latitude * lookFactor); }, /** * Changes the camera to look up, accepts a numeric parameter named `lookFactor` that controls * the factor of looking, according to the camera current position. */ [KeyboardAction.CAMERA_LOOK_UP]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const currentPosition = camera.positionCartographic; const lookFactor = params.lookFactor || CAMERA_LOOK_DEFAULT_FACTOR; camera.lookUp(currentPosition.longitude * (lookFactor * -1)); }, /** * Changes the camera to look down, accepts a numeric parameter named `lookFactor` that controls * the factor of looking, according to the camera current position. */ [KeyboardAction.CAMERA_LOOK_DOWN]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const currentPosition = camera.positionCartographic; const lookFactor = params.lookFactor || CAMERA_LOOK_DEFAULT_FACTOR; camera.lookDown(currentPosition.longitude * (lookFactor * -1)); }, /** * Twists the camera to the right, accepts a numeric parameter named `amount` that controls * the twist amount */ [KeyboardAction.CAMERA_TWIST_RIGHT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.amount || CAMERA_TWIST_DEFAULT_FACTOR; camera.twistRight(lookFactor); }, /** * Twists the camera to the left, accepts a numeric parameter named `amount` that controls * the twist amount */ [KeyboardAction.CAMERA_TWIST_LEFT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.amount || CAMERA_TWIST_DEFAULT_FACTOR; camera.twistLeft(lookFactor); }, /** * Rotates the camera to the right, accepts a numeric parameter named `angle` that controls * the rotation angle */ [KeyboardAction.CAMERA_ROTATE_RIGHT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.angle || CAMERA_ROTATE_DEFAULT_FACTOR; camera.rotateRight(lookFactor); }, /** * Rotates the camera to the left, accepts a numeric parameter named `angle` that controls * the rotation angle */ [KeyboardAction.CAMERA_ROTATE_LEFT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.angle || CAMERA_ROTATE_DEFAULT_FACTOR; camera.rotateLeft(lookFactor); }, /** * Rotates the camera upwards, accepts a numeric parameter named `angle` that controls * the rotation angle */ [KeyboardAction.CAMERA_ROTATE_UP]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.angle || CAMERA_ROTATE_DEFAULT_FACTOR; camera.rotateUp(lookFactor); }, /** * Rotates the camera downwards, accepts a numeric parameter named `angle` that controls * the rotation angle */ [KeyboardAction.CAMERA_ROTATE_DOWN]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const lookFactor = params.angle || CAMERA_ROTATE_DEFAULT_FACTOR; camera.rotateDown(lookFactor); }, /** * Zoom in into the current camera center position, accepts a numeric parameter named * `amount` that controls the amount of zoom in meters. */ [KeyboardAction.CAMERA_ZOOM_IN]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const amount = params.amount; camera.zoomIn(amount); }, /** * Zoom out from the current camera center position, accepts a numeric parameter named * `amount` that controls the amount of zoom in meters. */ [KeyboardAction.CAMERA_ZOOM_OUT]: (cesiumService: CesiumService, params: any) => { const camera = cesiumService.getViewer().camera; const amount = params.amount; camera.zoomOut(amount); }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/circles-editor/circles-editor.service.ts

DEFAULT_CIRCLE_OPTIONS
DEFAULT_CIRCLE_OPTIONS: CircleEditOptions
Type : CircleEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, circleProps: { material: Cesium.Color.CORNFLOWERBLUE.withAlpha(0.4), fill: true, outline: false, outlineWidth: 1, outlineColor: Cesium.Color.WHITE.withAlpha(0.8), classificationType: Cesium.ClassificationType.BOTH, zIndex: 0, shadows: Cesium.ShadowMode.DISABLED, }, pointProps: { color: Cesium.Color.WHITE, outlineColor: Cesium.Color.BLACK.withAlpha(0.2), outlineWidth: 1, pixelSize: 13, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, polylineProps: { width: 1, material: () => Cesium.Color.WHITE.withAlpha(0.8), }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/ellipses-editor/ellipses-editor.service.ts

DEFAULT_ELLIPSE_OPTIONS
DEFAULT_ELLIPSE_OPTIONS: EllipseEditOptions
Type : EllipseEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, circleToEllipseTransformEvent: CesiumEvent.LEFT_CLICK, circleToEllipseTransformEventModifier: CesiumEventModifier.ALT, allowDrag: true, ellipseProps: { material: Cesium.Color.CORNFLOWERBLUE.withAlpha(0.4), fill: true, outline: true, outlineWidth: 1, outlineColor: Cesium.Color.WHITE.withAlpha(0.8), classificationType: Cesium.ClassificationType.BOTH, zIndex: 0, shadows: Cesium.ShadowMode.DISABLED, }, pointProps: { color: Cesium.Color.WHITE, outlineColor: Cesium.Color.BLACK.withAlpha(0.2), outlineWidth: 1, pixelSize: 13, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, polylineProps: { width: 1, material: () => Cesium.Color.WHITE, }, circleToEllipseTransformation: false, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/hippodrome-editor/hippodrome-editor.service.ts

DEFAULT_HIPPODROME_OPTIONS
DEFAULT_HIPPODROME_OPTIONS: HippodromeEditOptions
Type : HippodromeEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, hippodromeProps: { fill: true, material: Cesium.Color.CORNFLOWERBLUE.withAlpha(0.4), outline: true, width: 200000.0, outlineWidth: 1, outlineColor: Cesium.Color.WHITE.withAlpha(0.8), classificationType: Cesium.ClassificationType.BOTH, zIndex: 0, shadows: Cesium.ShadowMode.DISABLED, }, pointProps: { color: Cesium.Color.WHITE, outlineColor: Cesium.Color.BLACK.withAlpha(0.2), outlineWidth: 1, pixelSize: 13, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/points-editor/points-editor.service.ts

DEFAULT_POINT_OPTIONS
DEFAULT_POINT_OPTIONS: PointEditOptions
Type : PointEditOptions
Default value : { addLastPointEvent: CesiumEvent.LEFT_CLICK, removePointEvent: CesiumEvent.RIGHT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, pointProps: { color: Cesium.Color.WHITE.withAlpha(0.95), outlineColor: Cesium.Color.BLACK.withAlpha(0.5), outlineWidth: 1, pixelSize: 10, show: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/polygons-editor/polygons-editor.service.ts

DEFAULT_POLYGON_OPTIONS
DEFAULT_POLYGON_OPTIONS: PolygonEditOptions
Type : PolygonEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, addLastPointEvent: CesiumEvent.LEFT_DOUBLE_CLICK, removePointEvent: CesiumEvent.RIGHT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, pointProps: { color: Cesium.Color.WHITE.withAlpha(0.95), outlineColor: Cesium.Color.BLACK.withAlpha(0.2), outlineWidth: 1, pixelSize: 13, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, polygonProps: { material: Cesium.Color.CORNFLOWERBLUE.withAlpha(0.4), fill: true, classificationType: Cesium.ClassificationType.BOTH, zIndex: 0, }, polylineProps: { material: () => Cesium.Color.WHITE, width: 3, clampToGround: false, zIndex: 0, classificationType: Cesium.ClassificationType.BOTH, }, clampHeightTo3D: false, clampHeightTo3DOptions: { clampToTerrain: false, clampMostDetailed: true, clampToHeightPickWidth: 2, }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/polyline-editor/polylines-editor.service.ts

DEFAULT_POLYLINE_OPTIONS
DEFAULT_POLYLINE_OPTIONS: PolylineEditOptions
Type : PolylineEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, addLastPointEvent: CesiumEvent.LEFT_DOUBLE_CLICK, removePointEvent: CesiumEvent.RIGHT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, pointProps: { color: Cesium.Color.WHITE.withAlpha(0.95), outlineColor: Cesium.Color.BLACK.withAlpha(0.5), outlineWidth: 1, pixelSize: 15, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, polylineProps: { material: () => Cesium.Color.BLACK, width: 3, clampToGround: false, zIndex: 0, classificationType: Cesium.ClassificationType.BOTH, useGroundPrimitiveOutline: false }, clampHeightTo3D: false, clampHeightTo3DOptions: { clampToTerrain: false, clampMostDetailed: true, clampToHeightPickWidth: 2, }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/services/entity-editors/rectangles-editor/rectangles-editor.service.ts

DEFAULT_RECTANGLE_OPTIONS
DEFAULT_RECTANGLE_OPTIONS: RectangleEditOptions
Type : RectangleEditOptions
Default value : { addPointEvent: CesiumEvent.LEFT_CLICK, dragPointEvent: CesiumEvent.LEFT_CLICK_DRAG, dragShapeEvent: CesiumEvent.LEFT_CLICK_DRAG, allowDrag: true, pointProps: { color: Cesium.Color.WHITE, outlineColor: Cesium.Color.BLACK.withAlpha(0.2), outlineWidth: 1, pixelSize: 13, virtualPointPixelSize: 8, show: true, showVirtual: true, disableDepthTestDistance: Number.POSITIVE_INFINITY, }, rectangleProps: { height: 0, extrudedHeight: 0, material: Cesium.Color.CORNFLOWERBLUE.withAlpha(0.4), fill: true, classificationType: Cesium.ClassificationType.BOTH, outline: true, outlineColor: Cesium.Color.WHITE, zIndex: 0, }, clampHeightTo3D: false, clampHeightTo3DOptions: { clampToTerrain: false, }, }

projects/angular-cesium/src/lib/angular-cesium-widgets/models/label-props.ts

defaultLabelProps
defaultLabelProps: LabelProps
Type : LabelProps
Default value : { backgroundColor: new Cesium.Color(0.165, 0.165, 0.165, 0.7), backgroundPadding: new Cesium.Cartesian2(25, 20), distanceDisplayCondition: undefined, fillColor: Cesium.Color.WHITE, font: '30px sans-serif', heightReference: Cesium.HeightReference.NONE, horizontalOrigin: Cesium.HorizontalOrigin.LEFT, outlineColor: Cesium.Color.BLACK, outlineWidth: 1.0, pixelOffset: Cesium.Cartesian2.ZERO, pixelOffsetScaleByDistance: undefined, scale: 1.0, scaleByDistance: undefined, show: true, showBackground: false, style: Cesium.LabelStyle.FILL, text: '', translucencyByDistance: undefined, verticalOrigin: Cesium.VerticalOrigin.BASELINE, eyeOffset: Cesium.Cartesian3.ZERO, disableDepthTestDistance: 0, }

projects/angular-cesium/src/lib/angular-cesium/services/coordinate-converter/coordinate-converter.service.ts

LatLonVectors
LatLonVectors:
Default value : geodesy['LatLonVectors']

result-matching ""

    No results matching ""