You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors
See original GitHub issueHi, thanks for your component, it is great.
I have a leaflet map with react-leaflet-google-layer
and it is using google API too.
Got a problem with this You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors
.
I tried to add/remove <script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key="> to different parts of the index.html, does not help.
“react-google-autocomplete”: “^1.2.6”,
Is there any way to fix this?
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:20 (4 by maintainers)
Top Results From Across the Web
"You have included the Google Maps API multiple times on ...
I'm getting the error "You have included the Google Maps API multiple times on this page. This may cause unexpected errors." I know...
Read more >You have included the Google Maps API multiple times on this ...
Hi there, Need help to debug: "You have included the Google Maps API multiple times on this page. This may cause unexpected errors....
Read more >Fix: Google Maps JavaScript API Multiple Times On This Page ...
"You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors." To fix this, please check...
Read more >You have included the Google Maps ... - WordPress.org
This may cause unexpected errors.” I have remove all dns-prefetch but still it's giving tis error. The page I need help with: [log...
Read more >You have included the Google Maps API multiple times on this ...
You have included the Google Maps API multiple times on this page. This may cause unexpected errors. Created: July 25, 2019 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you’re using this package alongside with
google-map-react
, you can just tell the last package to include theplaces
api.<GoogleMapReact bootstrapURLKeys={{ key: API_KEY, libraries:['places'], }} />
✋🏽 Same here.
Using:
"@react-google-maps/api": "^2.1.1",
"react-google-autocomplete": "^2.1.2",