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 %>,
- iconSize: [21, 25],
- iconAnchor: [12, 27]
+ iconSize: [25, 41],
+ iconAnchor: [12, 41],
+ popupAnchor: [1, -34],
+ shadowUrl: <%= asset_path('images/marker-shadow.png').to_json %>,
+ shadowSize: [41, 41]
});
}