WP Manifestindependent plugin directory
manifest / content / cmb_field_map

CMB2 Field Type: Google Maps

Google Maps field type for Custom Metaboxes and Fields for WordPress

by Phil Wylie · github.com/mustardbees/cmb_field_map · website

118stars
46forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/mustardbees/cmb_field_map/archive/refs/heads/master.zip

Declares an update source (https://github.com/mustardBees/cmb_field_map), so updates arrive through the plugin's own updater.

From the readme

CMB2 Field Type: Google Maps Description Google Maps field type for CMB2. The pwmap field stores the latitude/longitude values which you can then use to display a map in your theme. Installation You can install this field type as you would a WordPress plugin: 1. Download the plugin 2. Place the plugin folder in your /wp-content/plugins/ directory 3. Activate the plugin in the Plugin dashboard Or you can use WP-CLI to install from GitHub. Google API Key You'll need to generate a Google API key with both "Maps JavaScript API" and "Places API" enabled. There are three options for specifying the Google API key: 1. Pass the apikey field parameter. Not recommended as you'll have to do this for each map field. 2. Define the key in your wp-config.php file. 3. Hook in your own key retrieval logic using the pwgoogleapikey filter. Usage pwmap Save a location on a map. Example: Extra Parameters: splitvalues Save the latitude/longitude values into two custom fields, they will be stored as $id . 'latitude' and $id . 'longitude'. Screenshot

Read the full README on GitHub →

Releases

TagPublished
v2.3.0 Sep 14, 2025
v2.2.0 Sep 4, 2018
v2.1.2 Dec 14, 2015
v2.1.1 Mar 13, 2015
v2.1.0 Mar 5, 2015
v2.0.5 Feb 25, 2015
v2.0.4 Sep 18, 2014
v2.0.3 Sep 17, 2014
v2.0.2 Sep 16, 2014
v2.0.1 Sep 10, 2014
v2.0.0 Sep 10, 2014
v1.4.2 Sep 4, 2014
v1.4.1 Jun 23, 2014
v1.4 Jan 30, 2014
v1.3 Jan 30, 2014

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.