Changeset 2654568
- Timestamp:
- 01/08/2022 03:02:13 PM (4 years ago)
- Location:
- acf-google-map-field-multiple-markers/trunk
- Files:
-
- 4 edited
-
acf-google-map-multi.php (modified) (3 diffs)
-
assets/js/input.js (modified) (1 diff)
-
fields/class-gmm-acf-field-google-map-multi-v5.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
acf-google-map-field-multiple-markers/trunk/acf-google-map-multi.php
r2593301 r2654568 2 2 3 3 /* 4 Plugin Name: ACF: Google Map Field (Multiple Markers)4 Plugin Name: ACF: Google Maps Field (Multiple Markers) 5 5 Plugin URI: https://wordpress.org/plugins/acf-google-map-field-multiple-markers/ 6 6 Description: A Google Map field that allows you to add multiple markers to it. 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author: Rajiv Lodhia 9 9 Author URI: https://rajivlodhia.com … … 16 16 17 17 // Define constants. 18 define( 'GMM_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );19 define( 'GMM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );20 define( 'GMM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );21 define( 'GMM_PLUGIN_FILE', __FILE__ );22 define( 'GMM_TEXTDOMAIN', 'acf-google-map-multi' );18 if (!defined('GMM_PLUGIN_BASE_NAME')) define( 'GMM_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) ); 19 if (!defined('GMM_PLUGIN_PATH')) define( 'GMM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); 20 if (!defined('GMM_PLUGIN_URL')) define( 'GMM_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 21 if (!defined('GMM_PLUGIN_FILE')) define( 'GMM_PLUGIN_FILE', __FILE__ ); 22 if (!defined('GMM_TEXTDOMAIN')) define( 'GMM_TEXTDOMAIN', 'acf-google-map-multi' ); 23 23 24 24 // check if class already exists … … 49 49 // - these will be passed into the field class. 50 50 $this->settings = array( 51 'version' => '1.0. 1',51 'version' => '1.0.2', 52 52 'url' => GMM_PLUGIN_URL, 53 53 'path' => GMM_PLUGIN_PATH, -
acf-google-map-field-multiple-markers/trunk/assets/js/input.js
r2574196 r2654568 263 263 map.setZoom(8); 264 264 map.setCenter( {lat: 51.4934, lng: 0.0098} ); 265 266 // Reset our vals storage for the new field with no data yet. 267 this.vals = []; 265 268 } 266 269 -
acf-google-map-field-multiple-markers/trunk/fields/class-gmm-acf-field-google-map-multi-v5.php
r2574196 r2654568 37 37 */ 38 38 39 $this->label = __('Google Map (Multiple Markers)', GMM_TEXTDOMAIN);39 $this->label = __('Google Maps (Multiple Markers)', GMM_TEXTDOMAIN); 40 40 41 41 … … 645 645 // class_exists check 646 646 endif; 647 648 ?> -
acf-google-map-field-multiple-markers/trunk/readme.txt
r2593110 r2654568 1 === ACF: Google Map Field (Multiple Markers) ===1 === ACF: Google Maps Field (Multiple Markers) === 2 2 Contributors: Rajiv Lodhia 3 Tags: acf, custom fields, advanced custom fields, google maps, maps 3 Tags: acf, custom fields, advanced custom fields, google maps, maps, markers 4 4 Requires at least: 4.7 5 5 Tested up to: 5.8 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 A Google Map field for ACF that allows you to add multiple markers to one single map.11 A Google Maps field for ACF that allows you to add multiple markers to one single map. 12 12 13 13 == Description == … … 33 33 == Usage Instructions == 34 34 35 On the new Google Map (Multiple Markers) field, you can:35 On the new Google Maps (Multiple Markers) field, you can: 36 36 - LEFT CLICK on the map to place a new marker 37 37 - RIGHT CLICK on a marker to remove it … … 65 65 * Updated readme. 66 66 * Tested with newest version of WordPress. 67 68 = 1.0.2 = 69 * Fixed bug where the field value wouldn't properly reset when adding a new marker. 70 * Changed name from "Google Map" to "Google Maps"
Note: See TracChangeset
for help on using the changeset viewer.