Skip to content

Commit 744a3ce

Browse files
authored
added animation support to Marker
1 parent f130550 commit 744a3ce

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dist/components/Marker.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
icon = _props.icon,
137137
label = _props.label,
138138
draggable = _props.draggable,
139-
title = _props.title;
139+
title = _props.title,
140+
animation = _props.animation;
140141

141142
if (!google) {
142143
return null;
@@ -153,7 +154,8 @@
153154
icon: icon,
154155
label: label,
155156
title: title,
156-
draggable: draggable
157+
draggable: draggable,
158+
animation: animation
157159
};
158160
this.marker = new google.maps.Marker(pref);
159161

@@ -204,4 +206,4 @@
204206
};
205207

206208
exports.default = Marker;
207-
});
209+
});

0 commit comments

Comments
 (0)