Map

The map for displaying the coordinates based on their longitude/ latitude. The component supports icon markers, custom coordinates and zoom levelling.

Methods

MethodDescription

setPoints(data: object[])

sets component's data

fitBounds()

fits map bounds to the points

setCenter(lat:number lng:number)

sets map's center

setZoom(zoom: number)

sets map zoom value

Triggers

Triggers allow you to launch certain actions upon different events.

On Init

Calls for an action on component initialization, e.g., page refresh

On Point Select

Calls for an action on point select

Last updated