Draws a 3d icon at the location specified by the shape parameter using the giving styling parameters.
the shape to draw
an 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.
Optional
style: PanoramaStyleStyling options for this panoramic image. Defaults to a style with opacity 1.
Optional
context: 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:
context = {id: feature.id}
.
2020.1
Draws the given shape using the given styling parameters.
the shape to draw. This shape can be of type:
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
,
SHAPE_LIST
, BOUNDS
or ORIENTED_BOX
To draw a shape of type POINT
please use drawIcon or drawIcon3D
Note: a Point shape passed to this method will be always drawn as a blue dot.
an object containing styling properties
A high-level geographic feature rendering canvas.