Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Overview

Methods

Methods

drawIcon

  • 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

drawText

  • (shape: Shape | [number, number], text: string, style: TextStyle): 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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method