-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Thanks for stopping by to let us know something could be better!
PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.
Is your feature request related to a problem? Please describe.
With the release of Advanced Markers, a new marker library is also introduced. To allow us to use the new Advanced Markers API (including both AdvancedMarkerView and PinView, we need to specify marker
in the libraries prop.
Describe the solution you'd like
We should be able to add marker
in the libraries prop:
import { Loader } from '@googlemaps/js-api-loader';
const loader = new Loader({
apiKey: "",
version: "beta",
libraries: ["marker"]
});
Describe alternatives you've considered
Ignore TS type checking.
Additional context
None.