Index: lib/src/google-apis/google-maps-api.html |
diff --git a/lib/src/google-apis/google-maps-api.html b/lib/src/google-apis/google-maps-api.html |
index eab4d600f45a06009e798a368da57328515897ea..261da7bac0961839e1e84b1a76d556e677a9ec0f 100644 |
--- a/lib/src/google-apis/google-maps-api.html |
+++ b/lib/src/google-apis/google-maps-api.html |
@@ -26,7 +26,7 @@ Dynamically loads the Google Maps JavaScript API, firing the `api-load` event wh |
Any number of components can use `<google-maps-api>` elements, and the library will only be loaded once. |
-@blurb Element wrapper around Google Maps API. |
+@summary Element wrapper around Google Maps API. |
*/ |
Polymer({ |
@@ -63,15 +63,6 @@ Any number of components can use `<google-maps-api>` elements, and the library w |
}, |
/** |
- * The libraries to load with this map. For more information |
- * see https://developers.google.com/maps/documentation/javascript/libraries. |
- */ |
- libraries: { |
- type: String, |
- value: '' |
- }, |
- |
- /** |
* Version of the Maps API to use. |
*/ |
version: { |
@@ -114,16 +105,15 @@ Any number of components can use `<google-maps-api>` elements, and the library w |
/** @private */ |
libraryUrl: { |
type: String, |
- computed: '_computeUrl(mapsUrl, version, libraries, apiKey, clientId, language, signedIn)' |
+ computed: '_computeUrl(mapsUrl, version, apiKey, clientId, language, signedIn)' |
} |
}, |
- _computeUrl: function(mapsUrl, version, libraries, apiKey, clientId, language, signedIn) { |
+ _computeUrl: function(mapsUrl, version, apiKey, clientId, language, signedIn) { |
var url = mapsUrl + '&v=' + version; |
- if (libraries) { |
- url += "&libraries=" + libraries; |
- } |
+ // Always load all Maps API libraries. |
+ url += '&libraries=drawing,geometry,places,visualization'; |
if (apiKey && !clientId) { |
url += '&key=' + apiKey; |