Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ang-google-maps

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ang-google-maps - npm Package Compare versions

Comparing version 1.3.9 to 1.4.0

2

bower.json
{
"name": "ang-google-maps",
"version": "1.3.9",
"version": "1.4.0",
"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.",

@@ -169,2 +169,6 @@ (function(ang) {

avoidTolls: true
}).then(function(res) {
console.log(res);
}, function(error) {
console.log(error);
});

@@ -171,0 +175,0 @@ }

{
"name": "ang-google-maps",
"version": "1.3.9",
"version": "1.4.0",
"description": "Module to initialize Google Maps API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -38,3 +38,3 @@ (function(ang, g) {

$DirectionDisplay: $DirectionDisplay
});
},$q);
}])

@@ -761,3 +761,3 @@ .directive('mapTemp', ['$window', '$document', '$http', mapTempFactory])

function Direction(configs) {
function Direction(configs, $q) {

@@ -775,2 +775,4 @@ var $DirectionService = configs['$DirectionService'],

var $Defered = $q.defer();
if (!g) return;

@@ -801,2 +803,8 @@

$DirectionDisplay.setDirections(response);
$Defered.resolve(response);
} else {
$Defered.reject({
message: "There something wrong @ setRoute, please check if you pass appropriate parameters into this function",
code: 0
});
}

@@ -807,2 +815,4 @@

}
return $Defered.promise;

@@ -809,0 +819,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc