fix iconRetinaUrl

This commit is contained in:
Laura Klünder 2017-11-12 00:08:03 +01:00
parent e94145cc96
commit 43cdba9950

View file

@ -489,7 +489,7 @@ c3nav = {
_add_icon: function (name) {
c3nav[name+'Icon'] = new L.Icon({
iconUrl: '/static/img/marker-icon-'+name+'.png',
iconRetinaUrl: '/static/img/marker-icon-\'+name+\'-2x.png',
iconRetinaUrl: '/static/img/marker-icon-'+name+'-2x.png',
shadowUrl: '/static/leaflet/images/marker-shadow.png',
iconSize: [25, 41],
iconAnchor: [12, 41],