Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit f5de057

Browse files
facuferraridouglasduteil
authored andcommitted
fix(demo): add $params to .addMarker() arguments
Closes #22
1 parent 4adfce2 commit f5de057

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

demo/demo.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<!-- Le directive
32
================================================== -->
43

@@ -79,7 +78,7 @@ <h3>How?</h3>
7978
mapTypeId: google.maps.MapTypeId.ROADMAP
8079
};
8180

82-
$scope.addMarker = function($event) {
81+
$scope.addMarker = function($event, $params) {
8382
$scope.myMarkers.push(new google.maps.Marker({
8483
map: $scope.myMap,
8584
position: $params[0].latLng

0 commit comments

Comments
 (0)