2021-01-13 15:56:45 -05:00
|
|
|
MapSettings:
|
|
|
|
description: Map
|
|
|
|
properties:
|
|
|
|
displayNames:
|
|
|
|
description: Display object names on the map (1 for yes, 0 for no)
|
|
|
|
type: integer
|
|
|
|
title:
|
|
|
|
type: string
|
|
|
|
rgbColor:
|
|
|
|
type: integer
|
|
|
|
useReverseAPI:
|
|
|
|
description: Synchronize with reverse API (1 for yes, 0 for no)
|
|
|
|
type: integer
|
|
|
|
reverseAPIAddress:
|
|
|
|
type: string
|
|
|
|
reverseAPIPort:
|
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureSetIndex:
|
2021-01-13 15:56:45 -05:00
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureIndex:
|
2021-01-13 15:56:45 -05:00
|
|
|
type: integer
|
2022-01-08 23:27:12 -05:00
|
|
|
rollupState:
|
|
|
|
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
|
2021-01-13 15:56:45 -05:00
|
|
|
|
2022-02-09 18:01:08 -05:00
|
|
|
MapReport:
|
|
|
|
description: Map
|
|
|
|
properties:
|
|
|
|
dateTime:
|
|
|
|
description: "Current date and time being displayed by 3D map"
|
|
|
|
type: string
|
|
|
|
|
2021-01-13 15:56:45 -05:00
|
|
|
MapActions:
|
|
|
|
description: Map
|
|
|
|
properties:
|
|
|
|
find:
|
|
|
|
description: "The name of the item or the location to centre the map on"
|
|
|
|
type: string
|
2022-02-05 19:45:55 -05:00
|
|
|
setDateTime:
|
|
|
|
description: "Date and time to set for the map (ISO 8601 extended format)"
|
|
|
|
type: string
|
2021-01-13 15:56:45 -05:00
|
|
|
|
|
|
|
MapItem:
|
|
|
|
description: "An item to draw on the map. Set image to an empty string to remove item from the map."
|
|
|
|
required:
|
|
|
|
- name
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
description: "A name for the item"
|
2021-02-11 18:53:18 -05:00
|
|
|
type: string
|
2021-01-13 15:56:45 -05:00
|
|
|
image:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Filename or URL of image to draw on the 2D map"
|
2021-01-13 15:56:45 -05:00
|
|
|
type: string
|
|
|
|
imageRotation:
|
|
|
|
description: "Angle to rotate the image by"
|
|
|
|
type: integer
|
2021-02-11 18:53:18 -05:00
|
|
|
default: 0
|
2021-01-13 15:56:45 -05:00
|
|
|
text:
|
|
|
|
descrption: "Text to draw on the map when item is selected"
|
|
|
|
type: string
|
|
|
|
latitude:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Latitude in decimal degrees, positive to the North"
|
2021-01-13 15:56:45 -05:00
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
longitude:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Longitude in decimal degrees, positive to the East"
|
2021-01-13 15:56:45 -05:00
|
|
|
type: number
|
|
|
|
format: float
|
2021-02-11 18:53:18 -05:00
|
|
|
altitude:
|
|
|
|
description: "Altitude / height above sea level in metres"
|
|
|
|
type: number
|
|
|
|
format: float
|
2022-02-05 19:45:55 -05:00
|
|
|
fixedPosition:
|
|
|
|
description: "Indicates whether position of item is constant with time (0 - variable, 1 - fixed)"
|
|
|
|
type: integer
|
|
|
|
positionDateTime:
|
|
|
|
description: "Date and time at this position (ISO 8601 extended format)"
|
|
|
|
type: string
|
2021-03-01 04:51:24 -05:00
|
|
|
track:
|
|
|
|
description: "Track/path the item has taken"
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: "/doc/swagger/include/Map.yaml#/MapCoordinate"
|
|
|
|
predictedTrack:
|
|
|
|
description: "Track/path the item is predicted to take"
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: "/doc/swagger/include/Map.yaml#/MapCoordinate"
|
2022-02-05 19:45:55 -05:00
|
|
|
model:
|
|
|
|
description: "3D .glb/*.gltf model for displaying on 3D map"
|
|
|
|
type: string
|
|
|
|
orientation:
|
|
|
|
description: "How to orientate the model (0 - Along direction of motion, 1 - Use heading, pitch and roll)"
|
|
|
|
type: integer
|
|
|
|
heading:
|
|
|
|
description: "Heading angle, in decimal degrees clockwise from North"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
pitch:
|
|
|
|
description: "Pitch angle, in decimal degrees"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
roll:
|
|
|
|
description: "Roll angle, in decimal degrees"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
orientationDateTime:
|
|
|
|
description: "Date and time at this orientation (ISO 8601 extended format)"
|
|
|
|
type: string
|
|
|
|
label:
|
|
|
|
description: "Label for the model"
|
|
|
|
type: string
|
|
|
|
labelAltitudeOffset:
|
|
|
|
description: "Veritical offset to position label at"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
modelAltitudeOffset:
|
|
|
|
description: "Vertical offset to adjust model by to prevent it from going underground when altitude is 0"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
altitudeReference:
|
|
|
|
description: "0 - NONE (Absolule), 1 - CLAMP_TO_GROUND, 2 - RELATIVE_TO_GROUND, 3 - CLIP_TO_GROUND"
|
|
|
|
type: integer
|
|
|
|
animations:
|
|
|
|
description: "Animations to play"
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: "/doc/swagger/include/Map.yaml#/MapAnimation"
|
|
|
|
type:
|
|
|
|
description: "(0 - Map Item, 1 - Image Tile)"
|
|
|
|
type: integer
|
|
|
|
imageTileWest:
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
imageTileSouth:
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
imageTileEast:
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
imageTileNorth:
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
|
|
|
|
MapAnimation:
|
|
|
|
description: "Animation to play in the model on the 3D map"
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
description: "Name of animation to play (As in .glb/.glTF file)"
|
|
|
|
type: string
|
|
|
|
reverse:
|
|
|
|
description: "(0 - Forward, 1 - Reverse)"
|
|
|
|
type: integer
|
|
|
|
loop:
|
|
|
|
description: "(0 - Play once, 1 - Play in loop)"
|
|
|
|
type: integer
|
|
|
|
startDateTime:
|
|
|
|
description: "Date and time to start playing this animation (ISO 8601 extended format)"
|
|
|
|
type: string
|
|
|
|
startOffset:
|
|
|
|
description: "Fractional [0..1] offset in to animations timeline to start animation at"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
default: 0.0
|
|
|
|
multiplier:
|
|
|
|
description: "Speed multiplier for animation. >1 plays faster"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
default: 1.0
|
|
|
|
duration:
|
|
|
|
description: "Time in seconds to play animation for. 0 to play whole animation"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
default: 0.0
|
|
|
|
stop:
|
|
|
|
description: "Stop a looped animation from playing"
|
|
|
|
type: integer
|
2021-03-01 04:51:24 -05:00
|
|
|
|
|
|
|
MapCoordinate:
|
|
|
|
description: "A map coordinate"
|
|
|
|
properties:
|
|
|
|
latitude:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Latitude in decimal degrees, positive to the North"
|
2021-03-01 04:51:24 -05:00
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
longitude:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Longitude in decimal degrees, positive to the East"
|
2021-03-01 04:51:24 -05:00
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
altitude:
|
2022-02-05 19:45:55 -05:00
|
|
|
description: "Altitude / height above sea level in metres"
|
2021-03-01 04:51:24 -05:00
|
|
|
type: number
|
|
|
|
format: float
|
2022-02-05 19:45:55 -05:00
|
|
|
dateTime:
|
|
|
|
description: "Date and time at this coordinate (ISO 8601 extended format)"
|
|
|
|
type: string
|