mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-13 17:21:53 +00:00
Show marker on invite in Chat
Took 34 minutes
This commit is contained in:
@@ -8,13 +8,9 @@ type SimpleMarkerBarProps = {
|
|||||||
name: string;
|
name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function SimpleMarkerBar({
|
export default function SimpleMarkerBar({lat, lon, name}: SimpleMarkerBarProps) {
|
||||||
lat,
|
|
||||||
lon,
|
|
||||||
name,
|
|
||||||
}: SimpleMarkerBarProps) {
|
|
||||||
const barIcon = new L.Icon({
|
const barIcon = new L.Icon({
|
||||||
iconUrl: "drink_cocktail.png",
|
iconUrl: "/drink_cocktail.png",
|
||||||
iconSize: [35, 35],
|
iconSize: [35, 35],
|
||||||
popupAnchor: [0, -5],
|
popupAnchor: [0, -5],
|
||||||
backgroundColor: "purple",
|
backgroundColor: "purple",
|
||||||
|
|||||||
Reference in New Issue
Block a user