Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OverlayViewSafe
    • MarkerClusterer

Index

Constructors

constructor

Properties

ariaLabelFn

ariaLabelFn: function = this.options.ariaLabelFn || ((): string => "")

Type declaration

    • (text: string): string
    • Parameters

      • text: string

      Returns string

Static BATCH_SIZE

BATCH_SIZE: number = 2000

Static BATCH_SIZE_IE

BATCH_SIZE_IE: number = 500

Static IMAGE_EXTENSION

IMAGE_EXTENSION: string = "png"

Static IMAGE_PATH

IMAGE_PATH: string = "../images/m"

Static IMAGE_SIZES

IMAGE_SIZES: number[] = [53, 56, 66, 78, 90]

Methods

addListener

  • addListener(eventName: string, handler: function): MapsEventListener
  • Parameters

    • eventName: string
    • handler: function
        • (args: any[]): void
        • Parameters

          • Rest args: any[]

          Returns void

    Returns MapsEventListener

addMarker

  • addMarker(marker: Marker, nodraw: boolean): void

addMarkers

  • addMarkers(markers: Marker[], nodraw: boolean): void

bindTo

  • bindTo(key: string, target: MVCObject, targetKey: string, noNotify: boolean): void
  • Parameters

    • key: string
    • target: MVCObject
    • Optional targetKey: string
    • Optional noNotify: boolean

    Returns void

changed

  • changed(key: string): void
  • Parameters

    • key: string

    Returns void

clearMarkers

  • clearMarkers(): void

fitMapToMarkers

  • fitMapToMarkers(padding: number | Padding): void

get

  • get(key: string): any
  • Parameters

    • key: string

    Returns any

getAverageCenter

  • getAverageCenter(): boolean

getBatchSizeIE

  • getBatchSizeIE(): number

getCalculator

getClusterClass

  • getClusterClass(): string

getClusters

getEnableRetinaIcons

  • getEnableRetinaIcons(): boolean

getGridSize

  • getGridSize(): number

getIgnoreHidden

  • getIgnoreHidden(): boolean

getImageExtension

  • getImageExtension(): string

getImagePath

  • getImagePath(): string

getImageSizes

  • getImageSizes(): number[]

getMap

  • getMap(): Map | StreetViewPanorama
  • Returns Map | StreetViewPanorama

getMarkers

  • getMarkers(): Marker[]

getMaxZoom

  • getMaxZoom(): number

getMinimumClusterSize

  • getMinimumClusterSize(): number

getPanes

  • getPanes(): MapPanes
  • Returns MapPanes

getProjection

  • getProjection(): MapCanvasProjection
  • Returns MapCanvasProjection

getStyles

getTitle

  • getTitle(): string

getTotalClusters

  • getTotalClusters(): number

getTotalMarkers

  • getTotalMarkers(): number

getZIndex

  • getZIndex(): number

getZoomOnClick

  • getZoomOnClick(): boolean

notify

  • notify(key: string): void
  • Parameters

    • key: string

    Returns void

removeMarker

  • removeMarker(marker: Marker, nodraw: boolean): boolean

removeMarkers

  • removeMarkers(markers: Marker[], nodraw: boolean): boolean

repaint

  • repaint(): void

set

  • set(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

setAverageCenter

  • setAverageCenter(averageCenter: boolean): void

setBatchSizeIE

  • setBatchSizeIE(batchSizeIE: number): void

setCalculator

setClusterClass

  • setClusterClass(clusterClass: string): void

setEnableRetinaIcons

  • setEnableRetinaIcons(enableRetinaIcons: boolean): void

setGridSize

  • setGridSize(gridSize: number): void

setIgnoreHidden

  • setIgnoreHidden(ignoreHidden: boolean): void

setImageExtension

  • setImageExtension(imageExtension: string): void

setImagePath

  • setImagePath(imagePath: string): void

setImageSizes

  • setImageSizes(imageSizes: number[]): void

setMap

  • setMap(map: Map | StreetViewPanorama | null): void
  • Parameters

    • map: Map | StreetViewPanorama | null

    Returns void

setMaxZoom

  • setMaxZoom(maxZoom: number): void

setMinimumClusterSize

  • setMinimumClusterSize(minimumClusterSize: number): void

setStyles

setTitle

  • setTitle(title: string): void

setValues

  • setValues(values: any): void
  • Parameters

    • values: any

    Returns void

setZIndex

  • setZIndex(zIndex: number): void

setZoomOnClick

  • setZoomOnClick(zoomOnClick: boolean): void

unbind

  • unbind(key: string): void
  • Parameters

    • key: string

    Returns void

unbindAll

  • unbindAll(): void
  • Returns void

Static CALCULATOR

Static withDefaultStyle

Generated using TypeDoc