Skip to content

Commit b2eef15

Browse files
committed
issue allenhwkim#331, changed 'marker' to 'customMarker' in event
1 parent ef8ad4a commit b2eef15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

directives/custom-marker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151

152152
element.bind('$destroy', function() {
153153
//Is it required to remove event listeners when DOM is removed?
154-
mapController.deleteObject('customMarkers', marker);
154+
mapController.deleteObject('customMarkers', customMarker);
155155
});
156156

157157
} //link

0 commit comments

Comments
 (0)