Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gamstc authored Mar 28, 2024
1 parent 53d9784 commit efcf338
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//import "./styles.css";
//import * as L from "leaftlet";

// initialize the map
const map = leaflet.map("map").setView([51.505,-0.09],13);

leaflet.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}", {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);


8 changes: 8 additions & 0 deletions docs/src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
body {
font-family: sans-serif;

}

#map {
height: 500px;
}

0 comments on commit efcf338

Please sign in to comment.