Title: Advanced Custom Fields: Multiple Coordinates
Author: Jonas Hjalmarsson
Published: <strong>24 Tetor, 2013</strong>
Last modified: 9 Qershor, 2026

---

Kërkoni te shtojca

![](https://ps.w.org/advanced-custom-fields-multiple-coordinates/assets/banner-772x250.
png?rev=3566467)

![](https://ps.w.org/advanced-custom-fields-multiple-coordinates/assets/icon-256x256.
png?rev=3566467)

# Advanced Custom Fields: Multiple Coordinates

 Nga [Jonas Hjalmarsson](https://profiles.wordpress.org/jonashjalmarsson/)

[Shkarkim](https://downloads.wordpress.org/plugin/advanced-custom-fields-multiple-coordinates.1.0.4.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/#developers)

 [Asistencë](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/)

## Përshkrim

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](https://wordpress.org/plugins/advanced-custom-fields-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
        )
    */
    ?>
    ```

## Foto ekrani

[⌊The plugin in action in the backend.⌉⌊The plugin in action in the backend.⌉[

The plugin in action in the backend.

## Instalim

Install this plugin by downloading [the source](https://wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/)
and unzipping it into the plugin folder in your WordPress installation. Make sure
to also have ACF (Advanced Custom Fields) installed and active.

## PBR

### How do I get the plugin to show a map on the website?

By implementing a map on your own. We do not provide a frontend implementation —
that is up to you.

## Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

## Kontribues & Zhvillues

“Advanced Custom Fields: Multiple Coordinates” është software me burim të hapur.
Në këtë shtojcë kanë dhënë ndihmesë personat vijues.

Kontribues

 *   [ Jonas Hjalmarsson ](https://profiles.wordpress.org/jonashjalmarsson/)
 *   [ web111se ](https://profiles.wordpress.org/web111se/)

[Përkthejeni “Advanced Custom Fields: Multiple Coordinates” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-multiple-coordinates)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-multiple-coordinates/),
shkarkoni [depon SVN](https://plugins.svn.wordpress.org/advanced-custom-fields-multiple-coordinates/),
ose pajtohuni përmes [RSS-je](https://plugins.trac.wordpress.org/log/advanced-custom-fields-multiple-coordinates/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/advanced-custom-fields-multiple-coordinates/).

## Regjistër ndryshimesh

#### 1.0.4

 * Google Maps API key — read from ACF’s global `google_api_key` setting (`acf_get_setting`)
   and a `acf_multi_coords_gmaps_key` filter, so existing ACF users get a working
   map out of the box. Without a key, Google Maps falls back to limited mode (watermark).
 * Cleaned up leftover `console.log` calls in `js/map.js`.

#### 1.0.3

 * Plugin Check compliance: added `License`/`License URI` headers, `ABSPATH` direct-
   access guard, replaced `<?= ?>` short echo tags with `<?php echo esc_attr() ?
   >`, added explicit version arguments to `wp_register_style()`/`wp_register_script()`,
   switched protocol-relative Google Maps URL to `https`.
 * Updated Author URI to https://jonashjalmarsson.se.
 * Trimmed readme tags to 5.
 * Tested up to WordPress 6.9.

#### 1.0.2

Copy feature added to copy points from one Multiple Coordinates value to another.

 1. Press the Copy button, right click on the selection and select Copy.
 2. Go to the destination Multiple Coordinates value and press the Copy button, then
    right click and select Paste.
 3. Publish or update the page or post to apply the new points.

#### 1.0.1

 * Bugfix 1. Get lat and lng from Marker via correct API function.
 * Bugfix 2. “Show area on map” button toggle now works.
 * Optimized init of map when many markers.

#### 1.0.0

 * First release.

## Të tjera

 *  Version **1.0.4**
 *  Përditësuar së fundi më **3 javë më parë**
 *  Instalime aktive **10+**
 *  Version WordPress-i ** 5.0 ose më i madh **
 *  E provuar deri me **6.9.4**
 *  Version PHP-je ** 7.0 ose më i madh **
 *  Gjuhë
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/)
 * Etiketa
 * [acf](https://sq.wordpress.org/plugins/tags/acf/)[coordinates](https://sq.wordpress.org/plugins/tags/coordinates/)
   [Google Maps](https://sq.wordpress.org/plugins/tags/google-maps/)[map](https://sq.wordpress.org/plugins/tags/map/)
   [points](https://sq.wordpress.org/plugins/tags/points/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/advanced-custom-fields-multiple-coordinates/advanced/)

## Vlerësime

 2.3 nga 5 yje të mundshëm.

 *  [  1 shqyrtim me 5 yje     ](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/?filter=5)
 *  [  0 shqyrtime me 4 yje     ](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/?filter=4)
 *  [  0 shqyrtime me 3 yje     ](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/?filter=3)
 *  [  1 shqyrtim me 2 yje     ](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/?filter=2)
 *  [  2 shqyrtime me 1 yje     ](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/#new-post)

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/reviews/)

## Kontribues

 *   [ Jonas Hjalmarsson ](https://profiles.wordpress.org/jonashjalmarsson/)
 *   [ web111se ](https://profiles.wordpress.org/web111se/)

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/advanced-custom-fields-multiple-coordinates/)