Premier jet de la carte des POIs

This commit is contained in:
leosw
2026-01-19 20:38:02 +01:00
parent e1aa647fce
commit 04ecae8211
4 changed files with 105 additions and 5 deletions

View File

@@ -7,8 +7,8 @@
<? include('blocks/d.nav.html'); ?>
<div id="advert">En cours de création<span class="dots"><span>.</span><span>.</span><span>.</span></span><br>En attendant je vous recommande <a href="https://www.refuges.info/" target="_blank">refuges.info</a></div>
<!-- <div id="advert">En cours de création<span class="dots"><span>.</span><span>.</span><span>.</span></span><br>En attendant je vous recommande <a href="https://www.refuges.info/" target="_blank">refuges.info</a></div>
-->
<div id="mapid" style="height: 100%;"></div>
<div id="footer-credits" style="display: none;">
@@ -25,5 +25,17 @@
<? include('blocks/d.footer.html'); ?>
<script>
var root = "<?=$config['rel_root_folder']?>";
// Icônes des POIs (déjà présentes dans ton système)
window.poi_icons = {
<? foreach($poi_types as $type) { ?>
"<?=$type[3]?>": "<?=$config['views_url']?>img/<?=$type[3]?>.svg",
<? } ?>
"default": "<?=$config['views_url']?>img/default.svg"
};
</script>
</body>
</html>