A high-level feature non-georeferenced rendering canvas. Instead of rendering to the non-georeferenced map (e.g. a vertical view), shapes will be rendered to the border of a map , at a position which is perpendicular to the shape's position on the map.

To enable painting, implement the paintBorderBody method on your FeaturePainter.

Since

2014.0

Hierarchy

  • BorderGeoCanvas

Methods

  • Draws an icon at the location specified by the focus point of the shape parameter using the giving styling parameters. The anchor point of this icon will lie at the location of the shape parameter shifted by the offset vector. If a rotation angle is provided, the center of rotation will be the anchor point.

    Parameters

    • shape: Shape | [number, number]

      the shape or X,Y pixel coordinates to define were to draw the icon

    • style: BorderIconStyle

      an object containing styling properties

    Returns void

  • Draws the given text string at the location specified by the shape parameter or X,Y pixel coordinates.

    Parameters

    • shape: Shape | [number, number]

      the shape or X,Y pixel coordinates to define were to draw the text

    • text: string

      the text string to draw

    • style: TextStyle

      an object containing styling properties for the text.

    Returns void