Display marker
1
Install Maplibre
2
Create Solvice Account
These are instructions or content that only pertain to the second step.
3
Choose a Solvice style
Do you prefer a light or dark theme? Choose one of the following styles:
light
, dark
or color
.4
Add a marker
Create a new marker using the
marker
function. Set Lng/Lat of the marker using setLngLat()
function, and
finally add it to the current map using addTo()
function.Check out the full code example
Check out the full code example