Options
All
  • Public
  • Public/Protected
  • All
Menu

A high-level canvas to draw text labels in the border of a map. To enable painting, implement the paintBorderLabel method on your FeaturePainter.

since

2014.0

Hierarchy

  • BorderLabelCanvas

Overview

Methods

Methods

drawLabel

  • Draw a HTML label at the specified position. The html should be a text-string and should not contain dynamic content.

    Parameters

    • html: string

      The HTML to place on the map. It may contain HTML markup and CSS styling properties.

    • shape: Shape

      The shape for which the label should be drawn.

    • labelStyle: PointLabelStyle

      An object containing labeling properties. Note that the padding property is not supported. Use CSS padding and margin properties to simulate padding.

    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