Map
The map displays the coordinates based on their longitude/ latitude. The component supports icon markers, custom coordinates, and zoom leveling.
Methods
Method
Description
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 based on 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