Working with Rent Fetch maps and the Google Maps API on your local domain

When working on a site with a Google Maps API key set up, you’ll often find that whoever set up the API key didn’t take your local site (e.g. my-test-webstite.local) into consideration. So we’ve set up a solution allowing you to simply define your own API key as a constant in wp-config and override whatever’s in the setting:

define( 'RENTFETCH_GOOGLE_MAPS_API_KEY', 'yourlicensekeygoeshere' );

This should be placed in your wp-config.php file, just above where it says “That’s all, stop editing!”