initial
This commit is contained in:
18
src/App.tsx
Normal file
18
src/App.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import "./App.css";
|
||||
import { MapLibreMap } from "@mapcomponents/react-maplibre";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<MapLibreMap
|
||||
options={{
|
||||
style: "https://wms.wheregroup.com/tileserver/style/osm-bright.json",
|
||||
zoom: 4,
|
||||
}}
|
||||
style={{ position: "absolute", top: 0, bottom: 0, left: 0, right: 0 }}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user