Google Maps is used for everything related to locations in the system:

  • Contact Details form 
  • Members choosing Service Areas in the Member Dashboard 
  • Members setting locations for posts when creating them 
  • Displaying maps on profile pages 
  • Displaying maps in the sidebars of profile pages or post pages 
  • Users searching for members and posts by location 
  • Users sharing their location to auto-fill location search fields (Detect Visitor Locations add-on)


Removing any of this functionality will impact the user experience, so it is a matter of deciding which trade offs are not as important to make and disable that functionality accordingly.



How to Limit Maps 


Limiting the areas on the site using location search fields of any kind which uses the "Places API (New)" and "Geocoding APIs":


Search Modules

The first step in reducing Google Maps API usage is to remove location searches from the website.


Homepage

The homepage typically uses a category and location search module.


Change the search module to one that doesn't search by location.


** Do not use any of the "Location Search" or Maps **



Additional Information:

» Search Type - Search Box / Call to Action


Header Mini Nav & Sidebars

These are search modules that appear at the top of every page or in the sidebars.



In the Design Settings change the module to one that doesn't search by location.


** Do not use any of the Location modules **



Additional Information:

» Header Design


Sidebars 

** Do not use any of the Location modules **



Additional Information:

» Toolbox » Sidebar Manager


Get Matched Form

Location fields and/or rendering the Google Map in Get Matched lead forms (though this is probably minimal compared to searches).


Get Matched Page

This is a popular page and calling the maps or allowing location matches can increase API usage.




Profile Pages

This is a popular page and calling the maps or allowing location matches can increase API usage.




Remove Lead Forms Location Searches 

The leads form has special settings that control the location fields, no need to edit the actual lead form.




1) Set the Location Fields to "OFF".


2) Decrease usage by switching to "Only Input"


Additional Information:

» Leads » Manage Leads » Lead Settings » (Auto-Match Workflows) » Form Settings


Member Profile Pages & Search Results

The display of Google Maps themselves on profile pages and search results pages (JavaScript API).


Profile Pages

The member profiles will show a map with the member location.




Remove the map inside:


Profile Tab - Overview Tab Order: Location Map "Do Not Display"





Search Results Pages 


This applies when the site has the Google Map Search Results Add-On.



First disable the maps.


Go to Content » Edit Post Settings » Member Listings » Search Results tab » Additional Settings:






Scroll all the way down to find: "Display Google Map Option on Search Results Pages" set it to NO


Grid or List View


Now inside the Design Settings » Search Results Pages select either List or Grid view for the results:





The Map button no longer appears:



Inside the Design Settings, selecting Map view once this has been disabled, it will need to be enabled again:




Detect Visitor Locations

If the Detect Visitor Locations Add-On, disabling this would reduce usage as well.




Additional Information:

» Detect Visitor Locations Add-On


Form Maps

Maps on the Forms can be disabled.




This will apply to the Contact Details and the Feature Forms - the setting to disable the map will be inside: 


Content » Edit Post Setting » "Post Type" Edit » General Settings » Additional Settings


First select the post type that this change will apply to. In this example, using the Classifieds:







** Selecting "No" will hide the map on the Contact Details form in the Member Dashboard when a member enters their location information. This will not impact the member's ability to save a location for their profile.


The member can still enter their location inside the form: