Skip to content

Commit

Permalink
New library version
Browse files Browse the repository at this point in the history
  • Loading branch information
tombatossals committed Jan 11, 2014
1 parent c033053 commit b279b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/angular-leaflet-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,7 @@ angular.module("leaflet-directive").factory('leafletLayerHelpers', function ($ro
mustHaveUrl: false,
createLayer: function(params) {
if (!Helpers.MarkerClusterPlugin.isLoaded()) {
$log.error('[AngularJS - Leaflet] The markercluster plugin is not loaded.');
return;
}
return new L.MarkerClusterGroup(params.options);
Expand Down
Loading

0 comments on commit b279b2e

Please sign in to comment.