angular-ll-leaflet
Advanced tools
Comparing version 0.2.1 to 0.2.2
/** | ||
* Lightweight directives to use Leaflet with AngularJS | ||
* @version v0.2.1 | ||
* @version v0.2.2 | ||
* @link https://github.com/simon04/angular-ll-leaflet | ||
@@ -81,3 +81,3 @@ * @license ISC | ||
map.on(eventName.toLowerCase(), function(event) { | ||
scope.$apply(function() { | ||
scope.$applyAsync(function() { | ||
handler(scope.$parent, {$event: event}); | ||
@@ -127,3 +127,3 @@ }); | ||
marker.on('dragend', function() { | ||
scope.$apply(function() { | ||
scope.$applyAsync(function() { | ||
if (angular.isArray(scope.llLatLng)) { | ||
@@ -130,0 +130,0 @@ scope.llLatLng[0] = marker.getLatLng().lat; |
{ | ||
"name": "angular-ll-leaflet", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Lightweight directives to use Leaflet with AngularJS", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/simon04/angular-ll-leaflet", |
@@ -37,3 +37,3 @@ import L from 'leaflet'; | ||
map.on(eventName.toLowerCase(), function(event) { | ||
scope.$apply(function() { | ||
scope.$applyAsync(function() { | ||
handler(scope.$parent, {$event: event}); | ||
@@ -40,0 +40,0 @@ }); |
@@ -32,3 +32,3 @@ import angular from 'angular'; | ||
marker.on('dragend', function() { | ||
scope.$apply(function() { | ||
scope.$applyAsync(function() { | ||
if (angular.isArray(scope.llLatLng)) { | ||
@@ -35,0 +35,0 @@ scope.llLatLng[0] = marker.getLatLng().lat; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57137