-
Notifications
You must be signed in to change notification settings - Fork 64
Closed as not planned
Description
Looking for a simple example of adding an image png or svg to a custom marker.
Everything I have found appears to work only through HTML or seems complicated.
Would have assumed it would be possible to do
<Marker lat={-30.22} lng= {140.913} color="rgb(0,0,0)" label="My Marker" img src={./myimage.svg} />
Or similar to Leaflet
<Marker latLng={markerLatLng2}>
<Icon options="{iconOption}"></Icon>
<Popup>{popupMessage2}</Popup>
</Marker>
Any help as to direction to achieve this would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels