# Class: RotatingApertureMarker

旋转的光环.

# Hierarchy

  • MarkerBase

    RotatingApertureMarker

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new RotatingApertureMarker(features: FeatureCollection<Geometry | GeometryCollection, Properties> | { lngLat: LngLatLike ; text?: string }, options?: AnimateMarkerLayerOption): RotatingApertureMarker

# Parameters
Name Type
features FeatureCollection<Geometry | GeometryCollection, Properties> | { lngLat: LngLatLike ; text?: string }
options? AnimateMarkerLayerOption

Returns: RotatingApertureMarker

Overrides: MarkerBase.constructor

# Properties

# features

Protected features: FeatureCollection<Geometry | GeometryCollection, Properties> | { lngLat: LngLatLike ; text?: string }

Inherited from: MarkerBase.features


# markersElement

Protected markersElement: any

Inherited from: MarkerBase.markersElement


# options

Protected options: AnimateMarkerLayerOption

Inherited from: MarkerBase.options

# Methods

# _createMarker

_createMarker(): void

Returns: void


# _getColorWithOpacity

Protected _getColorWithOpacity(color: string, opacity: string | number): string

# Parameters
Name Type
color string
opacity string | number

Returns: string

Inherited from: MarkerBase._getColorWithOpacity


# _getTextContainer

Protected _getTextContainer(feature: any, className: string): null | HTMLDivElement

# Parameters
Name Type
feature any
className string

Returns: null | HTMLDivElement

Inherited from: MarkerBase._getTextContainer


# createMarker

createMarker(options?: createMarkerOptions, index?: number): Marker

# Parameters
Name Type
options? createMarkerOptions
index? number

Returns: Marker

Inherited from: MarkerBase.createMarker


# getColorWithOpacity

getColorWithOpacity(color: string, opacity: string | number): string

# Parameters
Name Type
color string
opacity string | number

Returns: string

Inherited from: MarkerBase.getColorWithOpacity


# getElement

getElement(index?: number): any

# Parameters
Name Type
index? number

Returns: any

Inherited from: MarkerBase.getElement


# getLngLat

getLngLat(index?: number): any

# Parameters
Name Type
index? number

Returns: any

Inherited from: MarkerBase.getLngLat


# getMarkersElement

getMarkersElement(): any

Returns: any

Inherited from: MarkerBase.getMarkersElement


# set16ToRgb

set16ToRgb(str: string): string

# Parameters
Name Type
str string

Returns: string

Inherited from: MarkerBase.set16ToRgb


# setFeatures

setFeatures(features: FeatureCollection<Geometry | GeometryCollection, Properties>): void

# Parameters
Name Type
features FeatureCollection<Geometry | GeometryCollection, Properties>

Returns: void

Inherited from: MarkerBase.setFeatures


# setMarkersColors

setMarkersColors(colors: string[], index?: number): void

# Parameters
Name Type
colors string[]
index? number

Returns: void


# setMarkersText

setMarkersText(text: string, index?: number): void

# Parameters
Name Type
text string
index? number

Returns: void

Inherited from: MarkerBase.setMarkersText


# setMarkersTextColor

setMarkersTextColor(textColor: string, index?: number): void

# Parameters
Name Type
textColor string
index? number

Returns: void

Inherited from: MarkerBase.setMarkersTextColor


# setMarkersTextField

setMarkersTextField(textField: string): void

# Parameters
Name Type
textField string

Returns: void

Inherited from: MarkerBase.setMarkersTextField


# setMarkersTextFontSize

setMarkersTextFontSize(textFontSize: number, index?: number): void

# Parameters
Name Type
textFontSize number
index? number

Returns: void

Inherited from: MarkerBase.setMarkersTextFontSize


# setMarkersWidth

setMarkersWidth(width: number, index?: number): void

# Parameters
Name Type
width number
index? number

Returns: void

vjmap / Exports / RotatingTextBorderMarker