diff --git a/app/views/tags/items_map.scala.html b/app/views/tags/items_map.scala.html
index 85aeaa37..f00b369f 100644
--- a/app/views/tags/items_map.scala.html
+++ b/app/views/tags/items_map.scala.html
@@ -17,7 +17,6 @@
-
@**@
@@ -90,7 +89,12 @@
var lat = @string((json \\ "lat").head)
var lon = @string((json \\ "lon").head)
var latlng@(id) = L.latLng(lat, lon);
- var icon@(id) = L.MakiMarkers.icon({icon: "library", color: "#FF333B", size: "m"});
+ var icon@(id) = L.icon({
+ iconUrl: '@controllers.routes.Assets.at("javascripts/images/marker-icon-red.png")',
+ iconSize: [20, 30],
+ iconAnchor: [10, 30],
+ popupAnchor: [0, -30]
+ });
var marker@(id) = L.marker([lat, lon],{
title: "@ownerName (@key)",
icon: icon@(id)
@@ -110,7 +114,7 @@
zoomDetails@(id)();
}
function zoomDetails@(id)() {
- map.setView(latlng@(id), 16);
+ map.setView(latlng@(id), 17);
marker@(id).openPopup();
}
function bindPopup@(id)(content) {
diff --git a/public/javascripts/images/marker-icon-red.png b/public/javascripts/images/marker-icon-red.png
new file mode 100644
index 00000000..49076928
Binary files /dev/null and b/public/javascripts/images/marker-icon-red.png differ