Skip to content

Commit

Permalink
Merge pull request #278 from francescoagati/patch-1
Browse files Browse the repository at this point in the history
supporto for click mobile
  • Loading branch information
tombatossals committed Feb 9, 2014
2 parents 0621417 + 6e83766 commit 375da75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/directives/geojson.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ angular.module("leaflet-directive").directive('geojson', function ($log, $rootSc
},
click: function(e) {
safeApply(leafletScope, function() {
geojson.selected = feature;
$rootScope.$broadcast('leafletDirectiveMap.geojsonClick', geojson.selected, e);
});
}
Expand Down

0 comments on commit 375da75

Please sign in to comment.