mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
chore(react/collections): start porting geomap
This commit is contained in:
16
apps/client/src/widgets/collections/geomap/index.tsx
Normal file
16
apps/client/src/widgets/collections/geomap/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import Map from "./map";
|
||||
import "./index.css";
|
||||
|
||||
const DEFAULT_COORDINATES: [number, number] = [3.878638227135724, 446.6630455551659];
|
||||
const DEFAULT_ZOOM = 2;
|
||||
|
||||
export default function GeoView() {
|
||||
return (
|
||||
<div className="geo-view">
|
||||
<Map
|
||||
coordinates={DEFAULT_COORDINATES}
|
||||
zoom={DEFAULT_ZOOM}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user