Try Umap _index.html

This commit is contained in:
fred 2023-12-01 21:56:07 +01:00
parent 76df4cde8d
commit 66272bb99f
3 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipfs/${ZCHAIN}' />" > ~/.z
cat ${MY_PATH}/../templates/P4N/index.html \
| sed -e "s~43.2218~${LAT}~g" \
-e "s~1.3977~${LON}~g" \
-e "s~_SERVICE_~Park4Night~g" \
-e "s~_SERVICE_~Commons~g" \
-e "s~_UMAP_~${UMAP}~g" \
-e "s~http://127.0.0.1:8080~~g" \
> ~/.zen/tmp/${MOATS}/${UMAP}/_index.p4n.html

View File

@ -80,7 +80,7 @@ axios.get('./p4n.json')
}).addTo(map);
// Set the map view to the specified GPS position
map.setView([lat, lng], 15); // Adjust the zoom level as needed
map.setView([lat, lng], 18); // Adjust the zoom level as needed
}
// Fetch JSON data for rolling text

View File

@ -167,7 +167,7 @@
</div>
<div id="console"> ___ <a href="/ipns/_ZONENS_/TW" target="aframe">ZONE TW _ZONE_ (@@@) </a> ___ <button onclick="document.getElementById('console').style.visibility = 'hidden';"> X </button>
<iframe name="aframe" id="aframe" src="https://pad.p2p.legal/p/AstroportSectorTW" width="100%" height="100%"></iframe>
<iframe name="aframe" id="aframe" src="_index.p4n.html" width="100%" height="100%"></iframe>
</div>
</body></html>