Skip to content

Add marker library support #699

@jeantimex

Description

@jeantimex

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.

Metadata

Metadata

Assignees

Labels

triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions