# Class: RotatingTextBorderMarker

旋转的文本框.

# Hierarchy

  • MarkerBase

    RotatingTextBorderMarker

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

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

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

Returns: RotatingTextBorderMarker

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


# _setMarkerContainerProperty

_setMarkerContainerProperty(properties: any, index?: number): void

# Parameters
Name Type
properties any
index? number

Returns: void


# 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


# setMarkersHeight

setMarkersHeight(height: number): void

# Parameters
Name Type
height 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

Overrides: MarkerBase.setMarkersTextColor


# setMarkersTextField

setMarkersTextField(textField: string, index?: number): void

# Parameters
Name Type
textField string
index? number

Returns: void

Overrides: MarkerBase.setMarkersTextField


# setMarkersTextFontSize

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

# Parameters
Name Type
textFontSize number
index? number

Returns: void

Overrides: MarkerBase.setMarkersTextFontSize


# setMarkersWidth

setMarkersWidth(width: number): void

# Parameters
Name Type
width number

Returns: void

vjmap / Exports / Service