parent
e1da786c99
commit
b74977ba8d
1 changed files with 2 additions and 2 deletions
|
@ -43,10 +43,10 @@ window.onload = function () {
|
|||
|
||||
if (args.marker) {
|
||||
L.marker(args.marker.split(','), {icon: L.icon({
|
||||
iconUrl: <%= asset_path('images/marker-icon.png').to_json %>,
|
||||
iconUrl: <%= asset_path('leaflet/dist/images/marker-icon.png').to_json %>,
|
||||
iconSize: new L.Point(25, 41),
|
||||
iconAnchor: new L.Point(12, 41),
|
||||
shadowUrl: <%= asset_path('images/marker-shadow.png').to_json %>,
|
||||
shadowUrl: <%= asset_path('leaflet/dist/images/marker-shadow.png').to_json %>,
|
||||
shadowSize: new L.Point(41, 41)
|
||||
})}).addTo(map);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue