]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Use nicer markers
[rails.git] / app / assets / javascripts / map.js.erb
index e4392827e31425acf0b7fbe88c9944b5f04d2654..6d15f1fdb4a87f69cd2396c930f64a437c94f6a3 100644 (file)
@@ -112,19 +112,11 @@ function createMap(divName, options) {
   return map;
 }
 
   return map;
 }
 
-function getArrowIcon() {
-  return L.icon({
-    iconUrl: <%= asset_path('arrow.png').to_json %>,
-    iconSize: [25, 22],
-    iconAnchor: [22, 20]
-  });
-}
-
 function getUserIcon(url) {
   return L.icon({
     iconUrl: url || <%= asset_path('marker-red.png').to_json %>,
 function getUserIcon(url) {
   return L.icon({
     iconUrl: url || <%= asset_path('marker-red.png').to_json %>,
-    iconSize: [21, 25],
-    iconAnchor: [12, 27]
+    iconSize: [19, 25],
+    iconAnchor: [11, 26]
   });
 }
 
   });
 }