Google Maps

Google API Key is Missing. Add the Key before starting to use the theme.

Google Maps requires you add your own API key before you start using it. This is a copy from Google Maps official announcement:  As of June 22, 2016 we are making the following changes to the Google Maps APIs Standard Plan: We no longer support keyless access (any request that doesn’t include an API key). Future product […]

How to set the location of a property on the map

If the pin is not placed on the map for a property, the map will show a default location in center of global maps. Pin can be placed in 3 ways: 1. With the Place PIN with Address button (which sends to Google Maps the City, Country, Area – if filled in, Address – if […]

Center map pin

The information we add into infoboxes are “attached” tot the actual marker (pin) when we create it. This happen in mapfunctions.js file via function createMarker() To center pin in map must remove map.panBy from all highlighted places as displayed in below screenshot, but this will apply for all locations of the map / infobox. Explanations when you […]

My Location / Geolocation button functionality

Google API changed the rules in June 2016. Staring this date the geolocation from Google will work only over https sites. For that reason starting version 1.16 WP Residence uses as source for geolocation info over http the with API, and for https sites Google Maps Geolocation API. For clients who use https for […]

How to remove Google Maps header from mobile devices only

Go into header_media.php and you have there in 2 places get_template_part(‘templates/google_maps_base’); replace that with if ( !wp_is_mobile() ) { get_template_part(‘templates/google_maps_base’); } Please note that some css adjustments may be required after this change For half map go in templates\half_map_core.php  and make the same change in one place.

Google Maps is not loading – what settings to check

When google maps are not loading, check the following: If you are on half map – make sure header of the page is google maps. Or set just for the page you create, if it’s with the Properties List Half Map template Or if you use SSL – enable SSL for google maps from theme […]

1.15 Google Map with Property Marker shortcode

Starting 1.15 there’s a new shortcode in the list. The shortcode can be accessed from wordpress editor ‘ Or you can add through Visual Composer Read here how to find the correct property ID How to see IDs in the theme The shortcode looks like this: — If Full Width Header will be used on […]

Enable Map Mouse Zoom In and Zoom Out

DISCLAIMER: This technical help has been written by our development team based on the answers/directions provided to our clients who have asked for directions to modify the code. We published them hoping that they will help other clients with similar requests implement the modifications faster. Please keep in mind that theme customization services ARE NOT […]

Zoom in Advanced Search Results page, Properties List page and Taxonomy page.

These pages: advanced search results, properties list, taxonomies pages behave differently if google maps is set as header option. On these pages the map pins and properties in list are in sync. For this feature the map will change automatically the zoom to display all the pins from list in the map view.  Because of this the […]