]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/map.js.erb
Undo commenting out code
[rails.git] / app / assets / javascripts / map.js.erb
1 function getUserIcon(url) {
2   return L.icon({
3     iconUrl: url || <%= asset_path('marker-red.png').to_json %>,
4     iconSize: [25, 41],
5     iconAnchor: [12, 41],
6     popupAnchor: [1, -34],
7     shadowUrl: <%= asset_path('images/marker-shadow.png').to_json %>,
8     shadowSize: [41, 41]
9   });
10 }