ang-google-maps
Advanced tools
Comparing version 1.4.5 to 1.4.6
{ | ||
"name": "ang-google-maps", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"homepage": "https://github.com/khalednobani/ang-google-maps", | ||
@@ -5,0 +5,0 @@ "description": "Initialise Google Maps, Set Location, Drop Pins, Get Connected Routes between the current location and the destination.", |
{ | ||
"name": "ang-google-maps", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"description": "Module to initialize Google Maps API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -656,3 +656,4 @@ (function(ang, g) { | ||
// Assign DOM element of input's field. | ||
$scope.element = element[0]; | ||
$scope.element = $scope.map["O" + $scope['nameofinput']] = element[0]; | ||
// Assign DOM's index of pac-container which is auto-generated when the user is typing the address. | ||
@@ -672,3 +673,2 @@ if($scope.element) $scope.element.setAttribute('pac-element-index', indexOfPacContainer); | ||
g.maps.event.addListener($scope.autocomplete, 'place_changed', function() { | ||
$scope.map["O" + $scope['nameofinput']] = $scope.element; | ||
$scope.fillInAddress(); | ||
@@ -675,0 +675,0 @@ }); |
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
584315
1290