plugin-icon

Advanced Custom Fields: Multiple Coordinates

제작자: Jonas Hjalmarsson·
A multi-point Google Maps field for Advanced Custom Fields. Click to add markers, drag to reposition, right-click to remove.
평가
2.3
버전
1.0.4
활성화된 설치 항목
10
최근 업데이트일
Jun 9, 2026
Advanced Custom Fields: Multiple Coordinates

A multi-point Google Maps field for Advanced Custom Fields. Click to add markers, drag to reposition, right-click to remove.

The plugin reads your existing Google Maps API key from ACF’s global setting (google_api_key), 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 acf_multi_coords_gmaps_key filter.

Originally inspired by the single-point ACF: Coordinates field by Stupid Studio; this plugin extends the idea to multiple points per field.

Licensed under the GNU General Public License v3. See gpl.txt for details.

Usage

When you create a new custom field with ACF, set the field type to Multiple Coordinates map. The coordinates chooser will then show up when you edit a post with your custom fields.

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 — not to add the actual points.

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:

<?php $values = get_field('*****FIELD_NAME*****'); print_r($values); /* gives you something like: Array ( [coords] => Array ( [0] => Array ( [lat] => 57.156363766336 [lng] => 16.364327427978 ) [1] => Array ( [lat] => 57.159612809986 [lng] => 16.370315551758 ) ) [zoom] => 13 ) */ ?>
무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.