maps
This commit is contained in:
26
maps/index.html
Normal file
26
maps/index.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Maps</title>
|
||||
<script src="maplibre-gl.js"></script>
|
||||
<link href="maplibre-gl.css" rel="stylesheet" />
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map" style="width: 100vw; height: 100vh"></div>
|
||||
<script>
|
||||
const map = new maplibregl.Map({
|
||||
style: "https://tiles.openfreemap.org/styles/liberty",
|
||||
center: [37.444143, -122.159665],
|
||||
zoom: 9.5,
|
||||
container: "map",
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user