diff --git a/public/views/d.map.html b/public/views/d.map.html
index 846017a..ac03542 100755
--- a/public/views/d.map.html
+++ b/public/views/d.map.html
@@ -38,6 +38,17 @@
"default": "=$config['views_url']?>img/default.svg"
};
+
+ window.poi_style_map = {
+ $t) {
+ $color = isset($t[2]) ? $t[2] : '#ef2929';
+ // Read size/shape from structure if provided, else fallback to sensible defaults
+ $size = isset($t[6]) ? (int)$t[6] : 16;
+ $shape = isset($t[7]) ? $t[7] : 'square';
+ ?>
+ "=$k?>": { color: "=$color?>", size: =$size?>, shape: "=$shape?>" },
+
+ };