Skip to content

TypeError: Illegal constructor when using AdvancedMarker #316

Answered by rbd2q
rbd2q asked this question in Q&A
Discussion options

You must be logged in to vote

While setting up an example I’ve discovered that the issue was caused by the useLoadScript function from the @react-google-maps/api library, which was used in one of my wrapper components. After removing its usage, the problem no longer occurs 🤔

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@rbd2q
Comment options

@usefulthink
Comment options

@rbd2q
Comment options

Answer selected by usefulthink
@usefulthink
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants