Skip to content

Commit

Permalink
feat: add marker to the library list (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantimex committed Oct 12, 2022
1 parent eec9527 commit e80548c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ test.each([
{
apiKey: "foo",
version: "weekly",
libraries: ["places"],
libraries: ["marker", "places"],
language: "language",
region: "region",
},
"https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=foo&libraries=places&language=language&region=region&v=weekly",
"https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=foo&libraries=marker,places&language=language&region=region&v=weekly",
],
[
{ mapIds: ["foo", "bar"] },
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export type Libraries = (
| "drawing"
| "geometry"
| "localContext"
| "marker"
| "places"
| "visualization"
)[];
Expand Down

0 comments on commit e80548c

Please sign in to comment.