Replies: 1 comment
-
|
Note it's been resolved, but the fix is quite odd (llm-suggested): index 6639a61..5bf3467 100644
--- a/components/ui/map.tsx
+++ b/components/ui/map.tsx
@@ -570,6 +570,8 @@ function MapMarker({
return (
<LeafletMarker
icon={L.divIcon({
+ // Avoid Leaflet's default `leaflet-div-icon` white square for custom SVG markers.
+ className: "",
html: renderToString(icon),
iconAnchor,
...(bgPos ? { bgPos } : {}),Note is it possible that using plain |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
there's a random white box rendered behind objects rendered on the map, like a marker
I believe it's a css issue, but can't find where it's coming from.
any ideas maybe?
Beta Was this translation helpful? Give feedback.
All reactions