You have included the Google Maps JavaScript API multiple times on this page. #3091
anasmohana
started this conversation in
General
Replies: 1 comment 4 replies
-
Please provide minimal reproduction in code sandbox |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am working on a new project that consists of two pages
Main: that show maps with some marker and use map
locations: that add locations to DB and use place library
My problem is when I move from the main page to location page the app work fine but if I go directly to locations I get error "google not define" when I load the script it works, but then when I navigate back and forward get the new error "You have included the Google Maps JavaScript API multiple times on this page." many people recommended to add the script to the index.html but really want to know if there is another solution
Beta Was this translation helpful? Give feedback.
All reactions