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.
|
||||
Explore Trust.
|
||||
|
||||
https://ipfs.asycn.io/ipfs/QmcNU2krdHogvxUkERf52roFbX8iVb1i11HSwRFjFf3QVm/
|
||||
https://ipfs.copylaradio.com/ipfs/QmcNU2krdHogvxUkERf52roFbX8iVb1i11HSwRFjFf3QVm/
|
||||
Enjoy the visit.
|
||||
|
|
|
@ -3,10 +3,18 @@
|
|||
<head>
|
||||
<title>UPlanet Map</title>
|
||||
<link rel="stylesheet" href="leaflet.css" />
|
||||
<style>
|
||||
.map-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map" style="width: 100%; height: 100vh;"></div>
|
||||
|
||||
<div id="map" class="map-container"></div>
|
||||
<br>
|
||||
|
||||
<script src="leaflet.js"></script>
|
||||
|
@ -88,8 +96,8 @@
|
|||
//~ maxZoom: 18
|
||||
//~ }).addTo(map);
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: 'U Planet'
|
||||
const tileLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: `U Planet crypto commons | Astroport | ${southWestLat} : ${southWestLon}`
|
||||
}).addTo(map);
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue