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

Unified Diff: lib/google_map_directions.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.html ('k') | lib/google_map_marker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/google_map_directions.dart
diff --git a/lib/google_map_directions.dart b/lib/google_map_directions.dart
index c9eea4e2c0cff8224331b37ef18e57a5a171d21a..6e3ef058a3dc0da992c40a665c16b1fb8ec484be 100644
--- a/lib/google_map_directions.dart
+++ b/lib/google_map_directions.dart
@@ -48,20 +48,14 @@ class GoogleMapDirections extends HtmlElement with CustomElementProxyMixin, Poly
String get language => jsElement[r'language'];
set language(String value) { jsElement[r'language'] = value; }
- /// A comma separated list (e.g. "places,geometry") of libraries to load
- /// with this map. Defaults to "places". For more information see
- /// https://developers.google.com/maps/documentation/javascript/libraries.
- ///
- /// Note, this needs to be set to the same value as the one used on <google-map>.
- /// If you're overriding that element's `libraries` property, this one also
- /// needs to be set to the Maps API loads the library code.
- String get libraries => jsElement[r'libraries'];
- set libraries(String value) { jsElement[r'libraries'] = value; }
-
/// The Google map object.
get map => jsElement[r'map'];
set map(value) { jsElement[r'map'] = (value is Map || (value is Iterable && value is! JsArray)) ? new JsObject.jsify(value) : value;}
+ /// Options for the display of results
+ get rendererOptions => jsElement[r'rendererOptions'];
+ set rendererOptions(value) { jsElement[r'rendererOptions'] = (value is Map || (value is Iterable && value is! JsArray)) ? new JsObject.jsify(value) : value;}
+
/// The response from the directions service.
get response => jsElement[r'response'];
set response(value) { jsElement[r'response'] = (value is Map || (value is Iterable && value is! JsArray)) ? new JsObject.jsify(value) : value;}
« no previous file with comments | « lib/google_map.html ('k') | lib/google_map_marker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698