Skip to content
Discussion options

You must be logged in to vote

The first thing to know is that the PlaceAutocompleteElement is currently only available in the alpha and beta release-channels, and it isn't quite clear yet when it will be ready for the stable releases. When the constructor can't be found, that would typically be because you're loading a stable (weekly/monthly/quarterly) release instead of alpha or beta.

There seems to be a couple of things wrong with that at the moment. For example, the @types/google.maps package has a couple of issues related to the PlaceAutocompleteElement class (see my comment here: googlemaps/js-api-loader#894 (comment)). Another thing is that the EventTarget interface isn't properly typed at the moment either, so …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@yannagrebah
Comment options

Answer selected by yannagrebah
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants