Commit a26dd749 authored by Italo Mairo's avatar Italo Mairo
Browse files

leaflet.drupal: fixed fallback to default Leaflet Marker.

parent a1b167ae
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -461,6 +461,10 @@
            console.log("Leaflet: The Icon Image doesn't exist at the requested path: " + marker.icon.iconUrl);
          });
      }
      else {
        // Fallback to Leaflet default marker.
        lMarker = new L.Marker(latLng);
      }
    }

    return lMarker;