Skip to main content Skip to footer
SevenSpark logo
  • Shop
  • Articles
  • About
  • Help
  • Shop
  • Articles
  • About
  • Help
Login

Duplicate Google Maps API

Troubleshooter
Diagnosis
Google Maps display issue · jQuery/javascript errors · UberMenu

If two or more plugins (or theme) load the Google Maps API, and the library is loaded twice, a javascript error will occur and the maps will stop working.

Details

Background

Themes and plugins that want to use Google Maps functionality load the Google Maps API javascript. However, this should only be loaded once.

The Problem

If two or more plugins (or theme) load the Google Maps API, and the library is loaded twice, a javascript error will occur and the maps will stop working.

Identifying the issue

When this occurs, an error will be printed to the javascript console related to the Google Maps API.

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

The Solution

Make sure you only load the Google Maps API once.

UberMenu 3

UberMenu’s can be disabled in the Control Panel

UberMenu Control Panel > General Settings > Assets

Uncheck Load Google Maps API

UberMenu 2

UberMenu’s can be disabled in the Control Panel > Descriptions, Shortcodes & Widgets > Advanced Content Capabilities > Load Google Maps.

SevenSpark Logo
Follow on FacebookFollow on XFollow on YouTube

Plugins

  • UberMenu Mega Menu
  • ShiftNav Mobile Menu
  • Bellows Accordion Menu
  • Carbon Copy Menu Duplicator

Resources

  • Articles
  • Tutorials
  • Support Center
  • About SevenSpark

Newsletter

Get exclusive deals by signing up to our Newsletter.

Copyright 2025 © SevenSpark LLC

  • Privacy Settings
  • Privacy Policy
  • Terms of Service
  • Disclaimer