feat: pass place markerColor in useMarkerIcon
This branch is rebased with feature/get-marker_style-from-backend
And includes those changes:
- created an auxiliary function to render the
Marker
as a string - updated
Places
type with themarkerColor
- in
useMarkerIcon
: check if a color is passed and use that color to create the html of the marker