Dynamic module mapsjs

Index

Variables

Modules

Interfaces

Classes

Functions

Variables

license: string

Gets the mapsjs license.

returns

The license.

version: string

The mapjs version.

Functions

clusterPoints(options: { data: {}[]; pointKey: string; valueFunction?: (row: any) => number; radiusFunction: (row: any) => number; aggregateFunction?: (srcRow: any, cmpRow: any, aggRow: any) => void; mapUnitsPerPixel: number; marginPixels?: number; }): Array<{}>

Clusters a set of points.

Parameters

  • options: { data: {}[]; pointKey: string; valueFunction?: (row: any) => number; radiusFunction: (row: any) => number; aggregateFunction?: (srcRow: any, cmpRow: any, aggRow: any) => void; mapUnitsPerPixel: number; marginPixels?: number; }

    An options object which specifies the clustering algorithm.

Returns

Array<{}>

An array of clustered points.