How To Use
After activating the plugin you can use the shortcode [tb_google_map] to display a Google Map.
Example:
[tb_google_map address="6921 Brayton Drive, Anchorage, Alaska"]
Shortcode Parameters
The following is a list of all parameters you can use within the shortcode.
- address: (required) The address to show in the map.
- maptype: (optional) Type of map – hybrid, satellite, roadmap, or terrain.
- zoom: (optional) Zoom level – use number 1-19.
- html: (optional) What to show in the popup, defaults to address.
- popup: (optional) Show or hide the popup, true or false.
- width: (optional) Width of map, defaults to 100%. Ex: 50%, 500px, etc.
- height: (optional) Height of map, defaults to 500px. Ex: 50%, 500px, etc.
Credits
This WordPress plugin utilizes the gMap jQuery Plugin by Cedric Kastner and Mario Estrada.