added grafana, map react-leaflet
This commit is contained in:
13
apps/dispatch/app/(dispatch)/_components/map/BaseMaps.tsx
Normal file
13
apps/dispatch/app/(dispatch)/_components/map/BaseMaps.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
import { TileLayer } from "react-leaflet";
|
||||
|
||||
export const BaseMaps = () => {
|
||||
return (
|
||||
<>
|
||||
<TileLayer
|
||||
attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user