Skip to content

Google Maps Module

Santiago Garza edited this page Feb 10, 2017 · 3 revisions

Real Estate Pro Google Maps module

Getting Started

The Google maps module allows users to easily display and customize maps using shortcodes and widgets. To get started with the Google maps module first visit the settings page in the WordPress Admin Panel under Settings->Real Estate Pro, then insert a valid Google Maps javascript API key. You can get an API key by going to the Google Developers Console adn signing up for a free account. Once you've applied the API key you can activate the module by marking the checkbox and hitting save.

Custom Styling Maps

You can apply custom styling to your maps with ease using Googles JSON styling specification. First generate a valid style sheet using SnazzyMaps or Google's Map Styling Wizard and paste the results in the textarea for map styling in the settings page.

Shortcodes

To use a google maps shortcode insert the following into your content.

[wp_google_maps lat="33.9192" lng="-118.4165"]

The wp_google_maps shortcode supports the following attributes:

  • width
  • height
  • lat
  • lng
  • info
  • zoom

Clone this wiki locally