-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Map&Mapbox Issue #58
Comments
Hey, I have a similar issue to your first issue and this is what I've found out: Since the content is being rendered in the original window, the global window that's being used by third party libraries is the original window, not the pop up window. Unfortunately, I don't have a fix or workaround besides using libraries where you can pass the window in through a prop. |
Thanks for your reply. Tried 5 different google map libraries and no one perfectly works... |
Made a little 'hack' that let me run mapbox and communicate with it in a seperat window using react-routing and broadcastChannel API. See: https://github.com/Totalbug92/React-New-Window-with-Mapbox-GL |
@Totalbug92 did you see issue #34? I think fixing that that would solve this issue with Google Maps, and any other issue related to the window reference. |
I'm wondering if this issue can be addressed using the new window instance returned by |
I'm trying to pop up a new window and put Map inside it. But have some issues:
Any way to make anyone of them works? Thanks a lot
The text was updated successfully, but these errors were encountered: