File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 3636@event api-load
3737-->
3838
39- < polymer-element name ="google-maps-api " extends ="core-shared-lib " attributes ="version apiKey clientId libraries language ">
39+ < polymer-element name ="google-maps-api " extends ="core-shared-lib " attributes ="version apiKey clientId libraries language signedIn ">
4040< script >
4141
4242 Polymer ( {
9292 */
9393 language : null ,
9494
95+ /**
96+ * If true, sign-in is enabled.
97+ * See https://developers.google.com/maps/documentation/javascript/signedin#enable_sign_in
98+ *
99+ * @attribute signedIn
100+ * @type boolean
101+ * @default false
102+ */
103+ signedIn : false ,
104+
95105 notifyEvent : 'api-load' ,
96106
97107 ready : function ( ) {
110120 url += '&language=' + this . language ;
111121 }
112122
123+ if ( this . signedIn ) {
124+ url += '&signed_in=' + this . signedIn ;
125+ }
126+
113127 this . url = url ;
114128 } ,
115129
You can’t perform that action at this time.
0 commit comments