Skip to content
WP Go Maps Documentation
Home

Initial Setup

3
  • Installing the Plugin
  • Map Engine Selection Guide
  • Changing your Map Engine

Map Engines

8
  • Creating a Google Maps API key
  • Protecting your Google Maps API key from unauthorized use – Setting up website restrictions (HTTP referrers)
  • Creating an Azure Maps subscription key
  • Creating a Stadia Maps API Key
  • Creating a MapTiler API Key
  • Creating a LocationIQ Access Token
  • Address Providers
  • Tile Servers & Tilesets

First-time users

3
  • Creating your first map
  • Creating your first marker
  • Displaying your Map on your WordPress site

Map Features

50
  • Map Features Overview
  • Accessibility and WCAG Compliance
  • Shortcodes
    • Shortcodes – Quick Start
    • Map Shortcode
    • Store Locator Shortcode
    • Category Filter Shortcode
    • Category Legends Shortcode
    • Infowindow Shortcode
    • Marker Listing Shortcode
    • Directions Shortcode
    • Using WP blocks
  • Markers
    • Editing a Marker
    • Marker Gallery
    • Fine-tuning a Marker’s position
    • Adding video to your Marker
    • Embedding iframes in your markers
    • Customizing your info Window
    • Info Window Styles
    • Using Custom marker Icons on your map
    • Sticky Markers
    • Adding Custom fields to your Marker
    • Marker Listing
    • Enabling distance features
  • Map Display
    • Setting your Map type
    • Using your map in a widget
    • Styling Wizard
    • Using GET variables to Control your Map
  • Filtering
    • Store Locator
    • Marker Filtering
    • Enabling the category Legend
    • Shape Filtering
  • Shapes
    • Shape Info Windows
    • Shape Library
    • Polyline & Polygon Line Styles
  • Performance & Analytics
    • Optimization
    • Map Insights
    • Marker Caching
  • Drawing Tools
    • Adding a Polygon
    • Adding a Polyline
    • Adding a Circle
    • Adding a Rectangle
    • Adding an image overlay
    • Adding a Point Label
    • Adding a Heatmap
  • Themes
    • Creating a Custom Map Theme – Google maps engine
    • Change your Map Theme – Theme Presets for OpenLayers & Leaflet
    • Edit your Map Theme – Theme Editor for OpenLayers & Leaflet
    • Using a custom image as a map tile
  • Directions
    • Enabling Directions
    • Enabling Directions with OpenRouteService

Integrations

8
  • Integrations Overview
  • WooCommerce – Checkout Map
  • WooCommerce – Product Location Editor
  • Translating the plugin with WPML
  • Post Type Locations
  • Advanced Custom Fields
    • Advanced custom fields
    • Enabling simple ACF Fields for display in the description field of the Info Windows of your ACF Map
    • Using Custom images as the marker icons for your ACF map markers

Importing and Exporting Data

5
  • Importing Files
  • Exporting Data and Settings
  • Bulk JPEG Import
  • Using KML and GeoRSS files
  • Improving Reliability of Scheduled Imports

Frequently Asked Questions

34
  • System Requirements
  • How to create an Administrator account for Support agents
  • GDPR
  • Licensing & Account
    • Why am I getting “Domain Limit Exceeded” for my License key
    • Purchase Model
    • Plugin Licenses
    • I am an NPO
    • I did not receive my invoice?
    • How can I upgrade my purchase of WP Go Maps
    • Where can I get a new download of the plugin
    • How do I update WP Go Maps?
  • Map Functionality
    • Map Tilt Controls
    • Marker Render Mode
    • Finding Custom Marker Icons
    • Why did my suggestions stop working?
    • How do I change scroll/pan behaviour on a mobile device
    • How do I dynamically set the search area in the Store locator
    • How do I Start the map in Street View
    • How to Create a Marker Cluster (Group)
    • How to use real time tracking
    • Marker Ratings
    • Why aren’t my ACF, WooCommerce or Post Locations Markers showing on my map?
  • Technical
    • How to add Support agents to your Google API Project
    • How do I change the WP Go Maps Plugin Language
    • How do I restrict Autocomplete to a Specific Country
    • Using WP Go Maps with Elementor
    • How can I disable externally hosted Google fonts so that I can be GDPR compliant?
    • WP Go Maps and Webcraftic Clearfy
    • I have a Customization Request
  • User Generated Content
    • How to allow visitors to create markers
    • Separating the VGM form from the Map
  • Integrations
    • WP Rocket – Map Won’t Load
    • Real Cookie Banner – Map Won’t Load
  • Hosting
    • One.com – Markers not loading

Troubleshooting

12
  • Autocomplete Disabled
  • Use my location is not working
  • I’m Getting a Maps Multiple API Error
  • I’m Getting a “jQuery not found” Error
  • My Map is Not Showing On My Website
  • Markers Are Not Showing on My Map on the Front-end
  • API Not Activated Map Error
  • This page can’t load Google Maps correctly
  • This API project is not authorized to use this API
  • Geocode failed (Request denied) error
  • My import is not working – Geocode failed (Missing address, lat and lng) (Rows: 2, 3, 4, 5, 6, 7, 8….)
  • This folder does not exist, please create it.

Customization

9
  • Customization Guides
  • Markers & Info Windows
    • Dynamic Marker Creation
    • Open Marker by Title (URL)
    • Open Marker by Marker Field (URL)
    • Updating Panel Info Window Dynamically
  • Maps
    • Map Manipulation
    • Refresh Map in Realtime
  • Database
    • Creating a Marker (PHP)
    • Edit & Remove Marker (PHP)

Developers

91
  • Basic Changelog
  • Pro Changelog
  • Gold Changelog
  • VGM Changelog
  • Templates
    • Template Overrides
  • Hooks
    • Filters
      • Basic
        • wpgooglemaps_filter_map_div_output
        • wpgmza_admin_persistent_notices_dynamic_titles
        • wpgmza_admin_persistent_notices_dynamic_messages
        • wpgmza_admin_persistent_notice
        • wpgmza_admin_ui_menu_current_action
        • wpgmza_create_{$class}
        • wpgmza_gdpr_notice
        • wpgmza_gdpr_settings_tab_content
        • wpgmza_plugin_get_default_settings
        • wpgmza_google_maps_api_params
        • wpgmza_internal_engine_build_version_plugins
        • wpgmza_internal_engine_build_version_flags
        • wpgmza_internal_engine_build_version
        • wpgmza_xml_cache_generated
        • wpgmza_fetch_integrated_markers
        • wpgmza_plugin_get_localized_data
        • wpgmza_settings_danger_zone_truncate_tables
        • wpgmza-get-library-dependencies
        • wpgmza_global_settings_tabs
        • wpgmza_global_settings_tab_content
        • wpgmza_global_settings_save_redux
        • wpgmza_map_shortcode_get_default_attributes
        • wpgmza_shortcode_map_options
        • wpgmza_map_shortcode_get_html_attributes
        • wpgmza_shortcode_map_components
        • wpgmza_shortcode_map_container_before
        • wpgmza_shortcode_map_container_inside
        • wpgmza_shortcode_map_container_after
        • wpgmza_sl_shortcode_get_default_attributes
        • wpgmza_standalone_component_classlist
        • wpgmza_standalone_component_wrap_attributes
        • wpgmza_store_locator_radii_options
        • wpgmza_localized_strings
        • wpgmza_system_info_compile_items
        • wpgmza-map-editor-navigation-{$dataGroup}
        • wpgmza-map-editor-settings-{$dataGroup}
        • wpgmza-map-editor-settings-blocks
        • wpgmza-map-editor-sidebar-blocks
        • wpgmza_styling_settings_save
    • Actions
      • Basic
        • wpgmza_admin_notice_process_background_action
        • wpgooglemaps_hook_user_js_after_core
        • wpgooglemaps_basic_hook_user_js_after_core
        • wpgooglemaps_hook_user_js_after_localize
        • wpgmza_admin_persistent_notices_create_defaults
        • wpgmza_admin_ui_menu_registered
        • wpgmza_admin_ui_menu_items_added
        • wpgmza_admin_ui_render_content_before
        • wpgmza_admin_ui_render_{$action}_before
        • wpgmza_admin_ui_render_{$action}_after
        • wpgmza_admin_ui_render_content_after
        • wpgmza_check_map_editor_backwards_compat
        • wpgmza_admin_ui_render_content_before
        • wpgmza_admin_ui_render_{$pageSlugged}_before
        • wpgmza_admin_ui_render_{$pageSlugged}_after
        • wpgmza_admin_ui_render_content_after
        • wpgmza_country_select_created
        • wpgmza_require_feature_classes
        • wpgmza_installer_page_created
        • wpgmza_installer_page_on_post
        • wpgmza_map_list_page_created
        • wpgmza_xml_cache_saved
        • wpgmza_page_dom_add_form_nonces
        • wpgmza_plugin_core_on_activate
        • wpgmza_plugin_core_on_deactivate
        • wpgmza_plugin_core_on_init
        • wpgmza_plugin_core_on_first_run
        • wpgmza_plugin_load_scripts
        • wpgmza_plugin_core_update_all_xml_files
        • wpgmza_settings_danger_zone_before_delete
        • wpgmza_settings_danger_zone_after_delete
        • wpgmza_register_rest_api_routes
        • wpgmza_rest_api_init
        • wpgmza_script_loader_enqueue_styles
        • wpgmza_enqueue_scripts
        • wpgmza_script_loader_enqueue_scripts
        • wpgmza_script_loader_localize_data_complete
        • wpgmza_script_loader_enqueue_custom_js
        • wpgmza_script_loader_enqueue_custom_css
        • wpgmza_script_loader_enqueue_codemirror
        • wpgmza_script_loader_enqueue_writersblock
        • wpgmza_global_settings_page_created
        • wpgmza_shortcodes_registered
        • wpgmza_shortcode_before_output
        • wpgmza_base_upgrade_hook
        • wpgmza_map_edit_page_created
        • wpgmza_styling_page_created

Archived: Legacy (V9)

39
  • First-time users (Legacy)
    • Creating your first map (Legacy)
    • Creating your first marker (Legacy)
    • Displaying your Map on your WordPress site (Legacy)
  • Map Features (Legacy)
    • Store Locator (Legacy)
    • Shortcodes (Legacy)
    • Setting your Map type (Legacy)
    • Using GET variables to Control your Map (Legacy)
    • Using your map in a widget (Legacy)
    • Markers (Legacy)
      • Editing a Marker (Legacy)
      • Sticky Markers (Legacy)
      • Marker Gallery (Legacy)
      • Enabling distance features (Legacy)
      • Marker Filtering (Legacy)
      • Embedding iframes in your markers (Legacy)
      • Adding video to your Marker (Legacy)
      • Customizing your info Window (Legacy)
      • Marker Listing (Legacy)
      • Using Custom marker Icons on your map (Legacy)
      • Adding Custom fields to your Marker (Legacy)
      • Fine-tuning a Marker’s position (Legacy)
    • Drawing Tools (Legacy)
      • Adding a Polygon (Legacy)
      • Adding a Polyline (Legacy)
      • Adding a Circle (Legacy)
      • Adding a Rectangle (Legacy)
      • Adding a Heatmap (Legacy)
    • Themes (Legacy)
      • Creating a Custom Map Theme – Google maps engine (Legacy)
      • Change your Map Theme – Theme Presets (Legacy)
    • Directions (Legacy)
      • Enabling Directions (Legacy)
      • Enabling Directions for OpenLayers (Legacy)
    • User Interface Style (Legacy)
      • User Interface Style (Legacy)
  • Integrations (Legacy)
    • Advanced custom fields (Legacy)
    • Translating the plugin with WPML (Legacy)
    • WooCommerce – Product Location Editor (Legacy)
    • WooCommerce – Checkout Map (Legacy)
  • Importing and Exporting Data (Legacy)
    • Importing Files (Legacy)
    • Exporting Data CSV
    • Exporting Data (JSON)
    • Bulk JPEG Import (Legacy)
    • Using KML and GeoRSS files (Legacy)
View Categories
  • Home
  • Docs
  • Map Features
  • Performance & Analytics
  • Optimization

Optimization

4 min read

At WP Go Maps, performance is a core design principle. We have already heavily optimized the plugin out-of-the-box by leveraging advanced techniques like database indexing, efficient spatial data storage, resource caching, and highly optimized database queries.

However, every website has different hosting environments, user demographics, and unique mapping needs (especially when dealing with thousands of dynamic markers). This guide outlines the key tools and settings available within the plugin to help you further dial in and maximize performance for your specific use case.

Core Performance Settings #

Core performance settings to optimize how data and resources are managed on your website.

Batch Loading #

This setting controls how large sets of markers are loaded on the map, by default all markers are always loaded when a map initializes, however you can control this for your site.

  • Location: Maps > Settings > Advanced > Optimization > Batch Loading
  • Function: Instead of attempting to load, for example, 2,000 markers onto the map all at once (which can cause a temporary browser hang), this feature loads the data in smaller, manageable batches (e.g., batches of 100) in the background.
  • Benefit: This ensures the map remains responsive and the end-user experience feels faster, as the data loads progressively.

Defer Loading (Scripts) #

  • Location: Maps > Settings > Advanced > Optimization > Defer Loading
  • Function: When enabled, all non-critical mapping-related JavaScript assets are deferred (their loading is postponed) until after the primary page content has loaded.
  • Benefit: This significantly improves the initial reported page load speeds (measured by tools like Google PageSpeed Insights) by ensuring mapping scripts do not block the rendering of critical content.

User Location Precision #

This setting manages the speed vs. accuracy of identifying the user’s current location.

  • Location: Maps > Settings > Advanced > Behaviour > User Location Precision
  • Default: High Precision (Slow)
    • Produces highly accurate location data, but requires more time and resources, which can feel slow to the end user.
  • Recommended for Speed: Low Precision (Fast)
    • Produces an approximate location (usually accurate enough for store locators) but generally happens instantly on all devices.

Developer & Editor Optimizations #

Tools to optimize workflows or editor based actions that might impact performance, usage costs, or query modes.

Reduce Editor Geocoding #

This tool is designed to save you resources when editing markers.

  • Location: Maps > Settings > Advanced > Editor > Reduce Editor Geocoding
  • Function: When a marker already has Latitude and Longitude data, enabling this option tells the map editor to skip the geocoding lookup (address-to-coordinate conversion).
  • Benefit: This significantly reduces the impact on your third-party geocoding service providers and allows you to quickly change the visible Address field without internally editing the stored lat/lng coordinates.

Marker Field Query Mode #

While this setting has minimal performance impact, it modifies the search logic for marker fields.

  • Location: Maps > Settings > Advanced > Other Settings > Marker Field Query Mode
  • Function: By default, marker field search may return partial text matches. You can adjust this setting if you prefer to enforce exact matches for search queries.

Marker Listing Performance #

Marker Listings (especially those handling thousands of entries) have dedicated settings to manage client and server load.

All of these settings are located within Maps > Settings > Marker Listings

DataTables – Only Search on Enter #

  • Location: Table Settings > Only trigger DataTable search on Enter/Return key
  • Function & Benefit: Only applies to Advanced Marker Listings (Datatables). Prevents the search from running on every keystroke (key up), which reduces the continuous server load and improves responsiveness.

DataTables – Performance Search Mode #

  • Location: Table Settings > Enable Datatables performance search mode
  • Function & Benefit: Ignores non-critical database columns and marker fields during searches, speeding up the search query execution.

DataTables – Disable #

  • Location: Table Settings > Do not enqueue datatables
  • Function & Benefit: Dependency Management. Disables the enqueuing of the external Datatables library. Only enable this if your theme or another plugin already loads Datatables to avoid conflicts and unnecessary resource loading.

Carousel – Dependencies #

  • Location: Carousel Listings > Do not enqueue owl carousel/theme
  • Function & Benefit: Dependency Management. Allows you to remove the OwlCarousel library from the listing dependencies if your site already loads an alternative carousel library.

Database & Maintenance Tools #

Performance Indexes #

  • Location: Maps > Settings > Danger Zone > Performance > Add Indexes
  • Function: Clicking this adds additional key indexes to critical WP Go Maps database tables.
  • Benefit: While our default tables are already heavily optimized, these extra indexes can further improve query times, particularly for complex text-based searches across large datasets.

System Health – Resolve Coordinates #

This tool addresses rare data integrity issues.

  • Location: Maps > Settings > Danger Zone > System Health Tools > Resolve Coordinates
  • Function: This tool identifies and resolves any missing spatial data (the underlying geographical data used for fast, location-based queries).
  • Benefit: Spatial data can be lost in rare cases if an import doesn’t complete properly or if a site backup/restore tool doesn’t fully support spatial data. This tool rebuilds the data from the source coordinates.

Remove Duplicate Markers #

  • Location: Maps > Tools > Utilities > Duplicate Markers > Remove Duplicate Markers
  • Function: This utility scans your marker database and removes any entries that have exact coordinate matches.
  • Benefit: Maintaining a clean database ensures that search queries are faster and prevents redundant data from being loaded onto the map.

Hide Markers Until Search is Complete #

This is a critical feature for high-volume marker sets.

  • Location: Maps > Edit your map > Settings > Store Locator > Advanced > Hide all markers until a search is done
  • Function: Enabling this does more than simply hide markers; it prevents them from being loaded onto the map initially. The markers are only queried and displayed once a Store Locator search is performed by the user.
  • Benefit: This is essential for websites with 10,000 markers or more, as it only loads the data relevant to the small geographical region of the search, dramatically reducing initial load time.

Find Maps #

  • Location: Maps > Tools > Utilities > Find Maps > Start Search
  • Function: This utility triggers a site-wide scan for all placed WP Go Maps shortcodes and blocks.
  • Benefit: While not a performance tool, it’s a vital workflow tool, allowing site administrators to efficiently recall and verify where all map components are located across their site.

Marker Caching #

Our Gold Add-on includes a powerful dedicated map caching system. This feature allows the map data to be loaded from a static cache file rather than being dynamically generated via a complex database query on every page load. This process can heavily reduce initial map load times.

Updated on November 10, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Table of Contents
  • Core Performance Settings
    • Batch Loading
    • Defer Loading (Scripts)
    • User Location Precision
  • Developer & Editor Optimizations
    • Reduce Editor Geocoding
    • Marker Field Query Mode
  • Marker Listing Performance
    • DataTables - Only Search on Enter
    • DataTables - Performance Search Mode
    • DataTables - Disable
    • Carousel - Dependencies
  • Database & Maintenance Tools
    • Performance Indexes
    • System Health - Resolve Coordinates
    • Remove Duplicate Markers
    • Hide Markers Until Search is Complete
    • Find Maps
  • Marker Caching
Documentation by WP Go Maps