Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1328)

Unified Diff: lib/google_map_marker.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/google_map_directions.dart ('k') | lib/google_map_nodart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/google_map_marker.dart
diff --git a/lib/google_map_marker.dart b/lib/google_map_marker.dart
index 5a7060b4ffd396bc82e7da451372ecec17c915df..1a97501d768ba939b15aea326d75fced8fe205cf 100644
--- a/lib/google_map_marker.dart
+++ b/lib/google_map_marker.dart
@@ -40,6 +40,11 @@ class GoogleMapMarker extends HtmlElement with CustomElementProxyMixin, PolymerB
GoogleMapMarker.created() : super.created();
factory GoogleMapMarker() => new Element.tag('google-map-marker');
+ /// A animation for the marker. "DROP" or "BOUNCE". See
+ /// https://developers.google.com/maps/documentation/javascript/examples/marker-animations.
+ String get animation => jsElement[r'animation'];
+ set animation(String value) { jsElement[r'animation'] = value; }
+
/// When true, marker *click events are automatically registered.
bool get clickEvents => jsElement[r'clickEvents'];
set clickEvents(bool value) { jsElement[r'clickEvents'] = value; }
@@ -72,6 +77,10 @@ class GoogleMapMarker extends HtmlElement with CustomElementProxyMixin, PolymerB
bool get mouseEvents => jsElement[r'mouseEvents'];
set mouseEvents(bool value) { jsElement[r'mouseEvents'] = value; }
+ /// Specifies whether the InfoWindow is open or not
+ bool get open => jsElement[r'open'];
+ set open(bool value) { jsElement[r'open'] = value; }
+
/// Z-index for the marker icon.
num get zIndex => jsElement[r'zIndex'];
set zIndex(num value) { jsElement[r'zIndex'] = value; }
« no previous file with comments | « lib/google_map_directions.dart ('k') | lib/google_map_nodart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698