You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
Any help as to direction to achieve this would be appreciated.
The text was updated successfully, but these errors were encountered: