Draws a 3D icon at the location specified by the shape parameter using the given styling parameters.
The shape to draw.
The object containing styling properties.
Draws a panoramic image at the specified location, using the specified rotation.
LuciadRIA identifies a single panoramic tileset using the context object.
If any of the properties of this object change, LuciadRIA will load new tiles for that panoramic.
The sensor location of the panoramic image, ie. the center of the image.
Optionalstyle: PanoramaStyleStyling options for this panoramic image. Defaults to a style with opacity 1.
Optionalcontext: PanoramaContextAn object that provides context to the drawPanoramic calls.
This context object is passed to PanoramaModel.getPanoramicImage.
You decide what this object looks like, and how you use it in PanoramaModel.getPanoramicImageURL.
The context object uniquely identifies a single panoramic image tileset.
It is used to differentiate between different drawPanorama calls.
The keys of this object should be strings, and the values strings or numbers.
Complex object structures (nested objects) are not allowed.
By default, the context is null.
Example usages of the context:
const context = { id: feature.id };
Draws the given shape using the provided styling parameters.
To draw a shape of type POINT, please use drawIcon or drawIcon3D
Note: A Point shape passed to this method will always be drawn as a blue dot, disregarding the provided style.
The shape to draw. Supported shape types are:
POLYLINE, POLYGON, CIRCLE_BY_3_POINTS, CIRCLE_BY_CENTER_POINT,
ELLIPSE, ARC, CIRCULAR_ARC_BY_3_POINTS, CIRCULAR_ARC_BY_BULGE,
CIRCULAR_ARC_BY_CENTER_POINT, ARC_BAND, SECTOR, COMPLEX_POLYGON, BEZIER_CURVE,
SHAPE_LIST, BOUNDS or ORIENTED_BOX.
an object containing styling properties
A high-level geographic feature rendering canvas.