import type { Color, LabelPosition, FeatureTemplatePrototype, FeatureTemplateThumbnail, FieldType } from "@arcgis/core/portal/jsonTypes.js";Type definitions
FeatureTemplateThumbnail
- Since
- ArcGIS Maps SDK for JavaScript 5.0
imageData
- Type
- string
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The base64EncodedImageData presenting the thumbnail image.
FieldType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Supported field types.
- Type
- "esriFieldTypeSmallInteger" | "esriFieldTypeInteger" | "esriFieldTypeSingle" | "esriFieldTypeDouble" | "esriFieldTypeLong" | "esriFieldTypeString" | "esriFieldTypeDate" | "esriFieldTypeOID" | "esriFieldTypeGeometry" | "esriFieldTypeBlob" | "esriFieldTypeRaster" | "esriFieldTypeGUID" | "esriFieldTypeGlobalID" | "esriFieldTypeXML" | "esriFieldTypeBigInteger" | "esriFieldTypeDateOnly" | "esriFieldTypeTimeOnly" | "esriFieldTypeTimestampOffset"
Point
- Since
- ArcGIS Maps SDK for JavaScript 5.0
x
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The x coordinate of the anchor point, measured along the east/west axis.
y
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The y coordinate of the anchor point, measured along the north/south axis.
spatialReference
- Type
- SpatialReferenceClass | null | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The spatial reference of the camera position. If not specified, the spatial reference of the video layer is used.
Extent
- Since
- ArcGIS Maps SDK for JavaScript 5.0
An envelope is a rectangle defined by a range of values for each coordinate and attribute.
xmin
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The minimum X value in the area of the envelope.
ymin
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The minimum Y value in the area of the envelope.
xmax
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The maximum X value in the area of the envelope.
ymax
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The maximum Y value in the area of the envelope.
Coordinate
- Type
- number[]
CircularArc
c
- Type
- [ endPoint: Coordinate, interiorPoint: Coordinate2D ]
The parameters of the arc:
- End point
- Interior point
EllipticArc7
An elliptic arc definition.
- See also
EllipticArc4 for circular elliptic arcs by four parameters.
a
- Type
- [ endPoint: Coordinate, centerPoint: Coordinate2D, isMinor: 0 | 1, isClockwise: 0 | 1, rotation: number, semiMajor: number, minorToMajorRatio: number ]
The parameters of the arc:
- End point
- Center point
- Sweep flag: major (0) or minor (less than 180 degrees) (1)
- Orientation flag: counter-clockwise (0) or clockwise (1)
- Rotation angle in radians. Positive values in counter-clockwise direction.
- Length of the semi-major axis
- Ratio of minor to major axis
EllipticArc4
Elliptic arc definition representing a circular arc.
This curve type is most commonly used to represent full circles.
a
- Type
- [ endPoint: Coordinate, centerPoint: Coordinate2D, isMinor: 0 | 1, isClockwise: 0 | 1 ]
The parameters of the arc:
- End point
- Center point
- Sweep flag: major (0) or minor (less than 180 degrees) (1)
- Orientation flag: counter-clockwise (0) or clockwise (1)
EllipticArc
- Type
- EllipticArc7 | EllipticArc4
BezierCurve
A definition for a cubic bezier curve.
b
- Type
- [ endPoint: Coordinate, controlPoint1: Coordinate2D, controlPoint2: Coordinate2D ]
The parameters of the bezier curve:
- End point
- Control point 1
- Control point 2
Curve
Compact representation of a curve segment.
All curve segments start from the end point of the previous segment.
Note: this type includes plain Coordinate because curve geometries may include straight line segments.
- See also
- Type
- Coordinate | CircularArc | EllipticArc | BezierCurve
VideoServiceLayerInfo
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The VideoServiceLayerInfo defines layer information for video layers published within the same video service.
layerId
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The layer id of the video layer.
posterUrl
- Type
- string
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The URL to the poster image for the video layer.
sourceType
- Type
- VideoSourceType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The source type of the video layer.
VideoSourceType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "ondemand" | "livestream"
VideoQuality
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "sd" | "hd" | "fhd" | "qhd" | "uhd"
Codecs
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The Codecs is an object that represents the codecs used by the video layer.
audio
- Type
- string
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The audio codec used in the video layer.
text
- Type
- string
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The text codec used in the video layer.
video
- Type
- string
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The video codec used in the video layer.
VideoCameraInfo
- Since
- ArcGIS Maps SDK for JavaScript 4.34
The CameraInfo is an object that represents the camera information of the video layer.
farDistance
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The far distance of the camera in meters.
fov
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The field of view of the camera in degrees.
heading
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The heading of the camera in degrees.
height
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The height of the camera in meters.
nearDistance
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The near distance of the camera in meters.
tilt
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The tilt of the camera in degrees.
Feature
- Since
- ArcGIS Maps SDK for JavaScript 5.0
A JSON Feature object that can be added to a StreamLayer on the client by calling its sendMessageToClient() method. It is an esri Feature JSON object as defined in the Feature object specification.
GeometryType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "esriGeometryPoint" | "esriGeometryPolyline" | "esriGeometryPolygon" | "esriGeometryEnvelope" | "esriGeometryMultiPatch" | "esriGeometryMultipoint"
SimpleTransformation
- Since
- ArcGIS Maps SDK for JavaScript 5.0
wkid
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
the spatial reference well known id
GeoTransform
- Since
- ArcGIS Maps SDK for JavaScript 5.0
wkid
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
the spatial reference well known id.
transformForward
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.0
indicates whether to transform forward or not.
SQLFormat
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "none" | "native" | "standard"
FormElementType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "field" | "attachment" | "group" | "relationship" | "text" | "utilityNetworkAssociations"
TimeResolutionMS
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- TimeResolution | "milliseconds"
InputMethod
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "any" | "capture" | "upload"
FormAttachmentAssociationType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "any" | "exact" | "exactOrNone"
TextFormatType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "plain-text" | "markdown"
FormExpressionReturnType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "boolean" | "date" | "number" | "string"
TableElementType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "group" | "field" | "attachment" | "relationship"
LayoutType
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "basic-grid" | "chronological-mono-timeline" | "chronological-multi-timeline" | "geographic-organic-standard" | "hierarchical-bottom-to-top" | "hierarchical-top-to-bottom" | "organic-community" | "organic-fusiform" | "organic-leaf-circle" | "organic-standard" | "radial-node-centric" | "radial-root-centric" | "tree-bottom-to-top" | "tree-left-to-right" | "tree-right-to-left" | "tree-top-to-bottom"