{"id":25857,"date":"2013-10-24T18:59:54","date_gmt":"2013-10-24T18:59:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/advanced-custom-fields-multiple-coordinates\/"},"modified":"2026-06-09T18:42:13","modified_gmt":"2026-06-09T18:42:13","slug":"advanced-custom-fields-multiple-coordinates","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-multiple-coordinates\/","author":8857345,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"6.9.4","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Advanced Custom Fields: Multiple Coordinates","header_author":"Jonas Hjalmarsson","header_description":"","assets_banners_color":"bebdc6","last_updated":"2026-06-09 18:42:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-multiple-coordinates\/","header_author_uri":"https:\/\/jonashjalmarsson.se","rating":2.3,"author_block_rating":0,"active_installs":10,"downloads":3608,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"jonas.hjalmarsson","date":"2026-06-09 18:42:13"}},"upgrade_notice":[],"ratings":{"1":"2","2":"1","3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3566467,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3566467,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3566467,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3566467,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3566467,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3566467,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3566483,"resolution":"1","location":"plugin","width":885,"height":377}},"screenshots":{"1":"The plugin in action in the backend."}},"plugin_section":[],"plugin_tags":[2211,3531,1571,2909,2321],"plugin_category":[49,59],"plugin_contributors":[202990,90262],"plugin_business_model":[],"class_list":["post-25857","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-coordinates","plugin_tags-google-maps","plugin_tags-map","plugin_tags-points","plugin_category-maps-and-location","plugin_category-utilities-and-tools","plugin_contributors-jonashjalmarsson","plugin_contributors-web111se","plugin_committers-jonashjalmarsson","plugin_committers-web111se"],"banners":{"banner":"https:\/\/ps.w.org\/advanced-custom-fields-multiple-coordinates\/assets\/banner-772x250.png?rev=3566467","banner_2x":"https:\/\/ps.w.org\/advanced-custom-fields-multiple-coordinates\/assets\/banner-1544x500.png?rev=3566467","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/advanced-custom-fields-multiple-coordinates\/assets\/icon-128x128.png?rev=3566467","icon_2x":"https:\/\/ps.w.org\/advanced-custom-fields-multiple-coordinates\/assets\/icon-256x256.png?rev=3566467","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/advanced-custom-fields-multiple-coordinates\/trunk\/screenshot-1.png?rev=3566483","caption":"The plugin in action in the backend."}],"raw_content":"<!--section=description-->\n<p>A multi-point Google Maps field for Advanced Custom Fields. Click to add markers, drag to reposition, right-click to remove.<\/p>\n\n<p>The plugin reads your existing Google Maps API key from ACF's global setting (<code>google_api_key<\/code>), so no extra configuration is needed if you already use ACF Map fields. If you don't have one set, you can also provide a key via the <code>acf_multi_coords_gmaps_key<\/code> filter.<\/p>\n\n<p>Originally inspired by the single-point <a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-coordinates\/\">ACF: Coordinates<\/a> field by Stupid Studio; this plugin extends the idea to multiple points per field.<\/p>\n\n<p>Licensed under the GNU General Public License v3. See <code>gpl.txt<\/code> for details.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>When you create a new custom field with ACF, set the field type to <strong>Multiple Coordinates map<\/strong>. The coordinates chooser will then show up when you edit a post with your custom fields.<\/p>\n\n<p>The tool adds a point on each click on the map. To remove the point, select the \"Remove Coordinate\" button and click a point. You can also show the points as a polygon on the map with the \"Show area on map\" button, and show the actual coordinates in a semicolon-separated list with the \"Show coordinates\" button. The search field is only there to quickly take you to different places on the map \u2014 not to add the actual points.<\/p>\n\n<p>To get the coordinates data on your frontend, simply request the field value and you get the coordinates in a latitude\/longitude array plus the zoom level, like this:<\/p>\n\n<pre><code>&lt;?php\n$values = get_field('*****FIELD_NAME*****');\nprint_r($values);\n\/* gives you something like:\n    Array\n    (\n        [coords] =&gt; Array\n            (\n                [0] =&gt; Array\n                    (\n                        [lat] =&gt; 57.156363766336\n                        [lng] =&gt; 16.364327427978\n                    )\n                [1] =&gt; Array\n                    (\n                        [lat] =&gt; 57.159612809986\n                        [lng] =&gt; 16.370315551758\n                    )\n            )\n        [zoom] =&gt; 13\n    )\n*\/\n?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>Install this plugin by downloading <a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-multiple-coordinates\/\">the source<\/a> and unzipping it into the plugin folder in your WordPress installation. Make sure to also have ACF (Advanced Custom Fields) installed and active.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20get%20the%20plugin%20to%20show%20a%20map%20on%20the%20website%3F\"><h3>How do I get the plugin to show a map on the website?<\/h3><\/dt>\n<dd><p>By implementing a map on your own. We do not provide a frontend implementation \u2014 that is up to you.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Google Maps API key \u2014 read from ACF's global <code>google_api_key<\/code> setting (<code>acf_get_setting<\/code>) and a <code>acf_multi_coords_gmaps_key<\/code> filter, so existing ACF users get a working map out of the box. Without a key, Google Maps falls back to limited mode (watermark).<\/li>\n<li>Cleaned up leftover <code>console.log<\/code> calls in <code>js\/map.js<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Plugin Check compliance: added <code>License<\/code>\/<code>License URI<\/code> headers, <code>ABSPATH<\/code> direct-access guard, replaced <code>&lt;?= ?&gt;<\/code> short echo tags with <code>&lt;?php echo esc_attr() ?&gt;<\/code>, added explicit version arguments to <code>wp_register_style()<\/code>\/<code>wp_register_script()<\/code>, switched protocol-relative Google Maps URL to <code>https<\/code>.<\/li>\n<li>Updated Author URI to https:\/\/jonashjalmarsson.se.<\/li>\n<li>Trimmed readme tags to 5.<\/li>\n<li>Tested up to WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<p>Copy feature added to copy points from one Multiple Coordinates value to another.<\/p>\n\n<ol>\n<li>Press the Copy button, right click on the selection and select Copy.<\/li>\n<li>Go to the destination Multiple Coordinates value and press the Copy button, then right click and select Paste.<\/li>\n<li>Publish or update the page or post to apply the new points.<\/li>\n<\/ol>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Bugfix 1. Get lat and lng from Marker via correct API function.<\/li>\n<li>Bugfix 2. \"Show area on map\" button toggle now works.<\/li>\n<li>Optimized init of map when many markers.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"A multi-point Google Maps field for Advanced Custom Fields. Click to add markers, drag to reposition, right-click to remove.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25857"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonashjalmarsson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25857"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25857"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25857"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25857"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25857"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}