Skip to content

Commit fe62237

Browse files
fix: map_id is no longer required in script tag (#375) 7095a66
1 parent 3a33afa commit fe62237

File tree

6 files changed

+38
-38
lines changed

6 files changed

+38
-38
lines changed

classes/Loader.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h3>constructor</h3>
148148
<li class="tsd-description">
149149
<aside class="tsd-sources">
150150
<ul>
151-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L260">index.ts:260</a></li>
151+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L259">index.ts:259</a></li>
152152
</ul>
153153
</aside>
154154
<div class="tsd-comment tsd-typography">
@@ -179,7 +179,7 @@ <h3>api<wbr>Key</h3>
179179
<div class="tsd-signature tsd-kind-icon">api<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
180180
<aside class="tsd-sources">
181181
<ul>
182-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L196">index.ts:196</a></li>
182+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L195">index.ts:195</a></li>
183183
</ul>
184184
</aside>
185185
<div class="tsd-comment tsd-typography">
@@ -194,7 +194,7 @@ <h3>channel</h3>
194194
<div class="tsd-signature tsd-kind-icon">channel<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
195195
<aside class="tsd-sources">
196196
<ul>
197-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L200">index.ts:200</a></li>
197+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L199">index.ts:199</a></li>
198198
</ul>
199199
</aside>
200200
<div class="tsd-comment tsd-typography">
@@ -209,7 +209,7 @@ <h3>client</h3>
209209
<div class="tsd-signature tsd-kind-icon">client<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
210210
<aside class="tsd-sources">
211211
<ul>
212-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L204">index.ts:204</a></li>
212+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L203">index.ts:203</a></li>
213213
</ul>
214214
</aside>
215215
<div class="tsd-comment tsd-typography">
@@ -224,7 +224,7 @@ <h3>id</h3>
224224
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
225225
<aside class="tsd-sources">
226226
<ul>
227-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L208">index.ts:208</a></li>
227+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L207">index.ts:207</a></li>
228228
</ul>
229229
</aside>
230230
<div class="tsd-comment tsd-typography">
@@ -239,7 +239,7 @@ <h3>language</h3>
239239
<div class="tsd-signature tsd-kind-icon">language<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
240240
<aside class="tsd-sources">
241241
<ul>
242-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L216">index.ts:216</a></li>
242+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L215">index.ts:215</a></li>
243243
</ul>
244244
</aside>
245245
<div class="tsd-comment tsd-typography">
@@ -254,7 +254,7 @@ <h3>libraries</h3>
254254
<div class="tsd-signature tsd-kind-icon">libraries<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libraries</span></div>
255255
<aside class="tsd-sources">
256256
<ul>
257-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L212">index.ts:212</a></li>
257+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L211">index.ts:211</a></li>
258258
</ul>
259259
</aside>
260260
<div class="tsd-comment tsd-typography">
@@ -269,7 +269,7 @@ <h3>map<wbr>Ids</h3>
269269
<div class="tsd-signature tsd-kind-icon">map<wbr>Ids<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
270270
<aside class="tsd-sources">
271271
<ul>
272-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L226">index.ts:226</a></li>
272+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L225">index.ts:225</a></li>
273273
</ul>
274274
</aside>
275275
<div class="tsd-comment tsd-typography">
@@ -284,7 +284,7 @@ <h3>nonce</h3>
284284
<div class="tsd-signature tsd-kind-icon">nonce<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
285285
<aside class="tsd-sources">
286286
<ul>
287-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L231">index.ts:231</a></li>
287+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L230">index.ts:230</a></li>
288288
</ul>
289289
</aside>
290290
<div class="tsd-comment tsd-typography">
@@ -299,7 +299,7 @@ <h3>region</h3>
299299
<div class="tsd-signature tsd-kind-icon">region<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
300300
<aside class="tsd-sources">
301301
<ul>
302-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L221">index.ts:221</a></li>
302+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L220">index.ts:220</a></li>
303303
</ul>
304304
</aside>
305305
<div class="tsd-comment tsd-typography">
@@ -314,7 +314,7 @@ <h3>retries</h3>
314314
<div class="tsd-signature tsd-kind-icon">retries<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
315315
<aside class="tsd-sources">
316316
<ul>
317-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L236">index.ts:236</a></li>
317+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L235">index.ts:235</a></li>
318318
</ul>
319319
</aside>
320320
<div class="tsd-comment tsd-typography">
@@ -329,7 +329,7 @@ <h3>url</h3>
329329
<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
330330
<aside class="tsd-sources">
331331
<ul>
332-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L241">index.ts:241</a></li>
332+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L240">index.ts:240</a></li>
333333
</ul>
334334
</aside>
335335
<div class="tsd-comment tsd-typography">
@@ -344,7 +344,7 @@ <h3>version</h3>
344344
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
345345
<aside class="tsd-sources">
346346
<ul>
347-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L192">index.ts:192</a></li>
347+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L191">index.ts:191</a></li>
348348
</ul>
349349
</aside>
350350
<div class="tsd-comment tsd-typography">
@@ -366,7 +366,7 @@ <h3>options</h3>
366366
<li class="tsd-description">
367367
<aside class="tsd-sources">
368368
<ul>
369-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L302">index.ts:302</a></li>
369+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L301">index.ts:301</a></li>
370370
</ul>
371371
</aside>
372372
<h4 class="tsd-returns-title">Returns <a href="../interfaces/LoaderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">LoaderOptions</a></h4>
@@ -386,7 +386,7 @@ <h3>delete<wbr>Script</h3>
386386
<li class="tsd-description">
387387
<aside class="tsd-sources">
388388
<ul>
389-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L425">index.ts:425</a></li>
389+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L424">index.ts:424</a></li>
390390
</ul>
391391
</aside>
392392
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
@@ -403,7 +403,7 @@ <h3>load</h3>
403403
<li class="tsd-description">
404404
<aside class="tsd-sources">
405405
<ul>
406-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L370">index.ts:370</a></li>
406+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L369">index.ts:369</a></li>
407407
</ul>
408408
</aside>
409409
<div class="tsd-comment tsd-typography">
@@ -425,7 +425,7 @@ <h3>load<wbr>Callback</h3>
425425
<li class="tsd-description">
426426
<aside class="tsd-sources">
427427
<ul>
428-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L394">index.ts:394</a></li>
428+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L393">index.ts:393</a></li>
429429
</ul>
430430
</aside>
431431
<div class="tsd-comment tsd-typography">

dist/index.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ export interface LoaderOptions {
137137
*/
138138
region?: string;
139139
/**
140-
* (Beta) You can add multiple Map IDs to your map using the map_ids paramenter in
141-
* your bootstrap request.
140+
* @deprecated Passing `mapIds` is no longer required in the script tag.
142141
*/
143142
mapIds?: string[];
144143
/**

dist/index.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

interfaces/LoaderOptions.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h3>api<wbr>Key</h3>
114114
<div class="tsd-signature tsd-kind-icon">api<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
115115
<aside class="tsd-sources">
116116
<ul>
117-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L49">index.ts:49</a></li>
117+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L49">index.ts:49</a></li>
118118
</ul>
119119
</aside>
120120
<div class="tsd-comment tsd-typography">
@@ -129,7 +129,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> channel</h3>
129129
<div class="tsd-signature tsd-kind-icon">channel<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
130130
<aside class="tsd-sources">
131131
<ul>
132-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L53">index.ts:53</a></li>
132+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L53">index.ts:53</a></li>
133133
</ul>
134134
</aside>
135135
<div class="tsd-comment tsd-typography">
@@ -146,7 +146,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> client</h3>
146146
<div class="tsd-signature tsd-kind-icon">client<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
147147
<aside class="tsd-sources">
148148
<ul>
149-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L57">index.ts:57</a></li>
149+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L57">index.ts:57</a></li>
150150
</ul>
151151
</aside>
152152
<div class="tsd-comment tsd-typography">
@@ -163,7 +163,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> id</h3>
163163
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
164164
<aside class="tsd-sources">
165165
<ul>
166-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L90">index.ts:90</a></li>
166+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L90">index.ts:90</a></li>
167167
</ul>
168168
</aside>
169169
<div class="tsd-comment tsd-typography">
@@ -178,7 +178,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> language</h3>
178178
<div class="tsd-signature tsd-kind-icon">language<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
179179
<aside class="tsd-sources">
180180
<ul>
181-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L127">index.ts:127</a></li>
181+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L127">index.ts:127</a></li>
182182
</ul>
183183
</aside>
184184
<div class="tsd-comment tsd-typography">
@@ -205,7 +205,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> libraries</h3>
205205
<div class="tsd-signature tsd-kind-icon">libraries<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libraries</span></div>
206206
<aside class="tsd-sources">
207207
<ul>
208-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L106">index.ts:106</a></li>
208+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L106">index.ts:106</a></li>
209209
</ul>
210210
</aside>
211211
<div class="tsd-comment tsd-typography">
@@ -229,14 +229,15 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> map<wbr>Ids</h3>
229229
<div class="tsd-signature tsd-kind-icon">map<wbr>Ids<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
230230
<aside class="tsd-sources">
231231
<ul>
232-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L154">index.ts:154</a></li>
232+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L153">index.ts:153</a></li>
233233
</ul>
234234
</aside>
235235
<div class="tsd-comment tsd-typography">
236-
<div class="lead">
237-
<p>(Beta) You can add multiple Map IDs to your map using the map_ids paramenter in
238-
your bootstrap request.</p>
239-
</div>
236+
<dl class="tsd-comment-tags">
237+
<dt>deprecated</dt>
238+
<dd><p>Passing <code>mapIds</code> is no longer required in the script tag.</p>
239+
</dd>
240+
</dl>
240241
</div>
241242
</section>
242243
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
@@ -245,7 +246,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> nonce</h3>
245246
<div class="tsd-signature tsd-kind-icon">nonce<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
246247
<aside class="tsd-sources">
247248
<ul>
248-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L162">index.ts:162</a></li>
249+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L161">index.ts:161</a></li>
249250
</ul>
250251
</aside>
251252
<div class="tsd-comment tsd-typography">
@@ -260,7 +261,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> region</h3>
260261
<div class="tsd-signature tsd-kind-icon">region<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
261262
<aside class="tsd-sources">
262263
<ul>
263-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L149">index.ts:149</a></li>
264+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L149">index.ts:149</a></li>
264265
</ul>
265266
</aside>
266267
<div class="tsd-comment tsd-typography">
@@ -289,7 +290,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> retries</h3>
289290
<div class="tsd-signature tsd-kind-icon">retries<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
290291
<aside class="tsd-sources">
291292
<ul>
292-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L166">index.ts:166</a></li>
293+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L165">index.ts:165</a></li>
293294
</ul>
294295
</aside>
295296
<div class="tsd-comment tsd-typography">
@@ -304,7 +305,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> url</h3>
304305
<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
305306
<aside class="tsd-sources">
306307
<ul>
307-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L158">index.ts:158</a></li>
308+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L157">index.ts:157</a></li>
308309
</ul>
309310
</aside>
310311
<div class="tsd-comment tsd-typography">
@@ -319,7 +320,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> version</h3>
319320
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
320321
<aside class="tsd-sources">
321322
<ul>
322-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L86">index.ts:86</a></li>
323+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L86">index.ts:86</a></li>
323324
</ul>
324325
</aside>
325326
<div class="tsd-comment tsd-typography">

modules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> DEFAULT_<wbr>ID</h3>
8888
<div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>ID<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;__googleMapsScriptId&quot;</span><span class="tsd-signature-symbol"> = &quot;__googleMapsScriptId&quot;</span></div>
8989
<aside class="tsd-sources">
9090
<ul>
91-
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/10e1e35/src/index.ts#L28">index.ts:28</a></li>
91+
<li>Defined in <a href="https://github.com/googlemaps/js-api-loader/blob/00219ab/src/index.ts#L28">index.ts:28</a></li>
9292
</ul>
9393
</aside>
9494
</section>

0 commit comments

Comments
 (0)