Skip to content

Advanced Markers not showing / Usage with other libraries #179

Discussion options

You must be logged in to vote

My general assumption would be that it won't work, since every library has their own way to handle objects created with the maps API. Another problem is that every library likely implements some way to load the maps api itself. This conflict will likely lead to errors, problems, or both.

One possible exception would be if both libraries use the new google.maps.importLibrary() loader and take care to use an existing loader (like this library does) or otherwise deal with a google maps API that has already been loaded. They would also have to allow communication via the API objects (for example by passing the google.maps.Map object into a component, which you can get via useMap()).

That said…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@chris-iliopoulos
Comment options

@benjaminsinaiko
Comment options

@usefulthink
Comment options

@JorgeSivil
Comment options

@chris-iliopoulos
Comment options

Answer selected by chris-iliopoulos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants