better rendering
This commit is contained in:
parent
2097a6fca7
commit
c1c8fb6a62
|
@ -17,5 +17,5 @@ You receive an access to this crypto landing recorded into IPFS
|
||||||
Get Friends.
|
Get Friends.
|
||||||
Explore Trust.
|
Explore Trust.
|
||||||
|
|
||||||
https://ipfs.asycn.io/ipfs/QmcNU2krdHogvxUkERf52roFbX8iVb1i11HSwRFjFf3QVm/
|
https://ipfs.copylaradio.com/ipfs/QmcNU2krdHogvxUkERf52roFbX8iVb1i11HSwRFjFf3QVm/
|
||||||
Enjoy the visit.
|
Enjoy the visit.
|
||||||
|
|
|
@ -3,10 +3,18 @@
|
||||||
<head>
|
<head>
|
||||||
<title>UPlanet Map</title>
|
<title>UPlanet Map</title>
|
||||||
<link rel="stylesheet" href="leaflet.css" />
|
<link rel="stylesheet" href="leaflet.css" />
|
||||||
|
<style>
|
||||||
|
.map-container {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="map" style="width: 100%; height: 100vh;"></div>
|
<div id="map" class="map-container"></div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<script src="leaflet.js"></script>
|
<script src="leaflet.js"></script>
|
||||||
|
@ -88,8 +96,8 @@
|
||||||
//~ maxZoom: 18
|
//~ maxZoom: 18
|
||||||
//~ }).addTo(map);
|
//~ }).addTo(map);
|
||||||
|
|
||||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
const tileLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||||
attribution: 'U Planet'
|
attribution: `U Planet crypto commons | Astroport | ${southWestLat} : ${southWestLon}`
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue