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.1.9 to 1.2.0

2

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

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

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

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

return undefined;
return -1;

@@ -460,3 +460,3 @@ }

if (position != undefined) {
if (position >= 0) {
List[position] = extendObj(List[position], model);

@@ -613,3 +613,12 @@ } else { List.push(model); index = List.length - 1;}

console.log(options);
var indexOfCurrentMarker = findInList(this.markers || [], {key: 'name', value: options['name'] || ''})
if (indexOfCurrentMarker >= 0 && this.markers[indexOfCurrentMarker]['marker']) {
var $Marker = this.markers[indexOfCurrentMarker]['marker'];
$Marker.setPosition(options['position'] || {lat: 0, lng: 0});
$Marker.setMap(this);
return;
}
var options = options || {},

@@ -616,0 +625,0 @@ isOnDragEndFunc = (typeof options['ondragend'] == 'function'),

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