27 lines
657 B
HTML
27 lines
657 B
HTML
<!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: [-122.159665, 37.444143],
|
|
zoom: 9.5,
|
|
container: "map",
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|