Class ReferenceMapStyle

An instance of reference style contains a list of StyleVariants ordered by relevance

Index

Constructors

Methods

  • Get the id of this reference style

    Returns string

  • Get the human-friendly name of this reference style

    Returns string

  • Get a given variant. If the given type of variant does not exist for this reference style, then the most relevant default variant is returned instead

    Parameters

    • variantType: string

    Returns MapStyleVariant

  • Check if a given variant type exists for this reference style

    Parameters

    • variantType: string

    Returns boolean

Was this helpful?

Client JS
Reference
ReferenceMapStyle