PHPackages                             nthmedia/entry-gps-coordinates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nthmedia/entry-gps-coordinates

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

nthmedia/entry-gps-coordinates
==============================

Entry GPS Coordinates plugin for Craft CMS

2.4.1(2mo ago)75.7k↑150%5[1 PRs](https://github.com/nthmedia/entry-gps-coordinates/pulls)proprietaryPHPPHP ^8.0

Since Aug 31Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/nthmedia/entry-gps-coordinates)[ Packagist](https://packagist.org/packages/nthmedia/entry-gps-coordinates)[ RSS](/packages/nthmedia-entry-gps-coordinates/feed)WikiDiscussions v2 Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (17)Used By (0)

Entry GPS Coordinates plugin for Craft CMS
==========================================

[](#entry-gps-coordinates-plugin-for-craft-cms)

Pick a GPS location for an entry. Supports multiple instances on a single page, including inside Neo and Matrix fields.

[![PluginImpression](https://user-images.githubusercontent.com/3450011/64065265-e3cbc680-cc0b-11e9-89fc-ed682123b109.gif)](https://user-images.githubusercontent.com/3450011/64065265-e3cbc680-cc0b-11e9-89fc-ed682123b109.gif)

Installation
------------

[](#installation)

1. Open your terminal and go to your Craft project and tell Composer to install the plugin:

```
composer require nthmedia/entry-gps-coordinates

```

2. Activate the plugin through the command line or via Settings → Plugins in the Control Panel:

```
./craft install/plugin entry-gps-coordinates

```

3. Add a Coordinates field under Settings → Fields and add it to a section under Settings → Sections.

Configuration
-------------

[](#configuration)

The field has four settings:

SettingDescription**Google API Key**Required. Supports environment variables.**Default Zoom Level**Number between 1 and 20. Default: 13.**Default Center Coordinates**Coordinates in `lat,lng` format. Default: Amsterdam.**Geocoding language**Language code for stored address data (e.g. `en`, `de`, `nl`, `fr`). Determines the language of saved fields like `address`, `country`, and `locality`. Default: `en`. The map interface language is set automatically based on the logged-in user's language.Usage in Twig
-------------

[](#usage-in-twig)

```
{{ entry.fieldName | searchQuery }}    {# Van Gogh Museum #}
{{ entry.fieldName | coordinates }}    {# 52.3584159,4.8810756 #}
{{ entry.fieldName | latitude }}       {# 52.3584159 #}
{{ entry.fieldName | longitude }}      {# 4.8810756 #}
{{ entry.fieldName | zoomLevel }}      {# 13 #}
{{ entry.fieldName | address }}        {# Paulus Potterstraat 7, 1071 CX Amsterdam, Netherlands #}
{{ entry.fieldName | streetNumber }}   {# 7 #}
{{ entry.fieldName | route }}          {# Paulus Potterstraat #}
{{ entry.fieldName | locality }}       {# Amsterdam #}
{{ entry.fieldName | postalCode }}     {# 1071 CX #}
{{ entry.fieldName | country }}        {# Netherlands #}
```

GraphQL
-------

[](#graphql)

All field values are available via GraphQL:

```
{
  entries {
    ... on YourSection_Entry {
      yourFieldName {
        searchQuery
        coordinates
        address
        streetNumber
        route
        locality
        postalCode
        country
        zoomLevel
      }
    }
  }
}
```

Google Cloud API
----------------

[](#google-cloud-api)

The following APIs need to be enabled in Google Cloud Console:

- Maps JavaScript API
- Places API
- Geocoding API

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 86.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~170 days

Total

15

Last Release

62d ago

Major Versions

1.3.1 → 2.0.02022-05-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/00ceed8171add81caca3cfc0a1a612f684e26a06b6bd39040b817a3299e531af?d=identicon)[niektenhoopen](/maintainers/niektenhoopen)

---

Top Contributors

[![niektenhoopen](https://avatars.githubusercontent.com/u/3450011?v=4)](https://github.com/niektenhoopen "niektenhoopen (33 commits)")[![jrrdnx](https://avatars.githubusercontent.com/u/4584671?v=4)](https://github.com/jrrdnx "jrrdnx (4 commits)")[![daltonrooney](https://avatars.githubusercontent.com/u/742045?v=4)](https://github.com/daltonrooney "daltonrooney (1 commits)")

---

Tags

craft-plugincraft3craft4craftcmscraftcms-pluginmaplocationlatitudelongitudegpscoordinatescoordinatelatlnggps coordinates

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nthmedia-entry-gps-coordinates/health.svg)

```
[![Health](https://phpackages.com/badges/nthmedia-entry-gps-coordinates/health.svg)](https://phpackages.com/packages/nthmedia-entry-gps-coordinates)
```

###  Alternatives

[spatie/geocoder

Geocoding addresses to coordinates

8404.8M15](/packages/spatie-geocoder)[mjaschen/phpgeo

Simple Yet Powerful Geo Library

1.6k8.6M22](/packages/mjaschen-phpgeo)[ballen/distical

A distance (Lat/Long) calculation library for PHP

40180.2k2](/packages/ballen-distical)[data-values/geo

Geographical value objects, parsers and formatters

20631.0k18](/packages/data-values-geo)[php-coord/php-coord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

110914.5k12](/packages/php-coord-php-coord)[spatie/google-time-zone

Get time zones for coordinates

110660.6k1](/packages/spatie-google-time-zone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
