diff --git a/src/index.test.ts b/src/index.test.ts index eef2325b..e69e7164 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -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®ion=region&v=weekly", + "https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=foo&libraries=marker,places&language=language®ion=region&v=weekly", ], [ { mapIds: ["foo", "bar"] }, diff --git a/src/index.ts b/src/index.ts index 47fc99b0..c7b21601 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,6 +31,7 @@ export type Libraries = ( | "drawing" | "geometry" | "localContext" + | "marker" | "places" | "visualization" )[];