File

map/cluster-map.ts

Index

Properties
Methods
Accessors

Constructor

constructor(iterable: IterableDiffers, addAssetCallback: (asset: PositionManagedObject) => void, translateService: TranslateService)
Parameters :
Name Type Optional
iterable IterableDiffers No
addAssetCallback function No
translateService TranslateService No

Properties

markers
Type : C8yMarker[]
Default value : []
positions
Type : PositionManagedObject[]
Default value : []

Methods

addMarkerToMap
addMarkerToMap(device: PositionManagedObject, map: L.Map)
Parameters :
Name Type Optional
device PositionManagedObject No
map L.Map No
Returns : void
clear
clear(map: L.Map)
Parameters :
Name Type Optional
map L.Map No
Returns : void
removeClusterToBigMarker
removeClusterToBigMarker()
Returns : void
render
render(map: L.Map)
Parameters :
Name Type Optional
map L.Map No
Returns : void
setClusterToBigMarker
setClusterToBigMarker(map: L.Map, count, leaflet)
Parameters :
Name Type Optional
map L.Map No
count No
leaflet No
Returns : void

Accessors

clusterMarker
getclusterMarker()
setclusterMarker(item: L.Layer)
Parameters :
Name Type Optional
item L.Layer No
Returns : void
rect
getrect()
setrect(item: L.Rectangle)
Parameters :
Name Type Optional
item L.Rectangle No
Returns : void

results matching ""

    No results matching ""