Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Attribution

Hierarchy

  • Attribution

Index

Constructors

constructor

  • Creates an attribution control.

    Parameters

    Returns Attribution

Methods

addAttribution

  • Adds an attribution text (e.g. 'Vector data © CloudMade').

    Parameters

    • text: string

    Returns Attribution

removeAttribution

  • Removes an attribution text.

    Parameters

    • text: string

    Returns Attribution

setPrefix

  • Sets the text before the attributions.

    Parameters

    • prefix: string

    Returns Attribution