Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PoiBuilder

Constructs PoiInfo objects from {@link @here/harp-datasource-protocol/Technique} and an icon.

Hierarchy

  • PoiBuilder

Index

Constructors

Methods

Constructors

constructor

Methods

build

withIcon

  • withIcon(imageTextureName?: undefined | string, shieldGroupIndex?: undefined | number): this
  • Sets an icon that will be used to create PoiInfos on subsequent calls to PoiBuilder.build until the next call to this method.

    Parameters

    • Optional imageTextureName: undefined | string

      The name of the icon image. If undefined, the image defined by the technique set on the last call to PoiBuilder.withTechnique wil be used.

    • Optional shieldGroupIndex: undefined | number

      Index to a shield group if the icon belongs to one.

    Returns this

    This builder.

withTechnique

Generated using TypeDoc