Skip to content

Commit e80548c

Browse files
authored
feat: add marker to the library list (#700)
1 parent eec9527 commit e80548c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ test.each([
3333
{
3434
apiKey: "foo",
3535
version: "weekly",
36-
libraries: ["places"],
36+
libraries: ["marker", "places"],
3737
language: "language",
3838
region: "region",
3939
},
40-
"https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=foo&libraries=places&language=language&region=region&v=weekly",
40+
"https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=foo&libraries=marker,places&language=language&region=region&v=weekly",
4141
],
4242
[
4343
{ mapIds: ["foo", "bar"] },

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export type Libraries = (
3131
| "drawing"
3232
| "geometry"
3333
| "localContext"
34+
| "marker"
3435
| "places"
3536
| "visualization"
3637
)[];

0 commit comments

Comments
 (0)