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.0.3 to 1.0.4

bower.json

9

demo/assets/js/main.module.js

@@ -20,4 +20,11 @@ (function(ang) {

$scope.setLocation = function($Position, $Model) {
$scope.handleMarkerDrag = function($Event, $Model, $Scope) {
console.log("Marker Drag Event");
console.log(arguments);
};
$scope.setLocation = function($Position, $Model, $CoreModel) {
console.log("SetLocation");

@@ -24,0 +31,0 @@ console.log(arguments);

7

package.json
{
"name": "ang-google-maps",
"version": "1.0.3",
"version": "1.0.4",
"description": "Module to initialize Google Maps API",

@@ -26,5 +26,6 @@ "main": "index.js",

"bugs": {
"url": "https://github.com/khalednobani/angular-google-maps/issues"
"url": "https://github.com/khalednobani/ang-google-maps/issues"
},
"homepage": "https://github.com/khalednobani/angular-google-maps#readme"
"homepage": "https://github.com/khalednobani/ang-google-maps#readme",
"dependencies": {}
}

@@ -114,3 +114,4 @@ (function(ang, g) {

model: '=model',
onfill: '=onfill'
onfill: '=onfill',
ondrag: '=ondrag'
}

@@ -314,8 +315,2 @@

}
function updatMarker(List, model) {
}

@@ -333,2 +328,4 @@ function fillInAdress() {

console.log(place);
$Self.map.setCenter($Position);

@@ -352,3 +349,2 @@

$Self.model.marker.addListener('dragend', function($Event) {
// Update current input

@@ -359,3 +355,5 @@ $Self.element.value = $Event.latLng.toString();

console.log($Event);
if(typeof $Self.ondrag == 'function') $Self.ondrag($Event, $Self.model, $Self);
});

@@ -374,3 +372,4 @@

if(typeof $Self.onfill == 'function') $Self.onfill($Position, $Self.model);
if(typeof $Self.onfill == 'function') $Self.onfill($Position, $Self.model, place);

@@ -385,3 +384,2 @@ }

for (var index = 0, length = $Markers.length; index < length; index++) {
if('marker' in $Markers[index]) $Markers[index]['marker'].setMap(null);

@@ -388,0 +386,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