From c2d7888e51eb7575e26bafd7d124d306f43a97da Mon Sep 17 00:00:00 2001 From: Facundo Date: Thu, 12 Sep 2013 19:14:31 -0300 Subject: [PATCH] Added $params to .addMarker() arguments in the demo --- demo/demo.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/demo.html b/demo/demo.html index c4afad0..6b0327a 100644 --- a/demo/demo.html +++ b/demo/demo.html @@ -1,4 +1,3 @@ - @@ -79,7 +78,7 @@

How?

mapTypeId: google.maps.MapTypeId.ROADMAP }; -$scope.addMarker = function($event) { +$scope.addMarker = function($event, $params) { $scope.myMarkers.push(new google.maps.Marker({ map: $scope.myMap, position: $params[0].latLng