Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
On opening google map second time, error is generating saying that You have included the Google Maps JavaScript API multiple times on this page

I am using the npm package google-maps [https://www.npmjs.com/package/google-maps]. and using angular material modal to show google map but whenever I open the map a second time an error generates saying:

You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

enter image description here

I have tried removing the google maps APIs from the head of the HTML after the closing of the modal (in the ngOndestroy function), but it's not working.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!