PHPackages                             se7enxweb/ezgmaplocation - 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. se7enxweb/ezgmaplocation

ActiveEzpublish-legacy-extension[Utility &amp; Helpers](/categories/utility)

se7enxweb/ezgmaplocation
========================

eZ Publish Google Mapping Location solution within an extension

v6.0.1(2y ago)2430↓33.3%[1 issues](https://github.com/se7enxweb/ezgmaplocation/issues)4GPL-2.0-or-laterPHP

Since Dec 23Pushed 2mo agoCompare

[ Source](https://github.com/se7enxweb/ezgmaplocation)[ Packagist](https://packagist.org/packages/se7enxweb/ezgmaplocation)[ Fund](https://account.venmo.com/u/se7enxweb)[ Fund](https://cash.app/$7xweb)[ RSS](/packages/se7enxweb-ezgmaplocation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (4)

```
eZGMapLocation Datatype Extension
Version 1.x by eZ Systems AS

Version 0.5 developed by Blend Interactive
http://blendinteractive.com
------------------------------------------------------------------
The GmapsLocation datatype extension provides a handy way to store
latitude/longitude points (as decimal degrees) on an object by using
Google Maps to identify and mark positions using their address.

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

1.) Obtain a Google Maps Key for all domains you'll be using by registering
your domains with Google at http://www.google.com/apis/maps/

2.) Upload the ezgmaplocation folder to the extensions folder in your
eZ Publish installation.

3.) Activate the extension from the 'Extensions' portion of the
'Setup' tab in the eZ publish admin interface.
And update the autoload array by clicking "Regenerate autoload arrays for extensions"

4.) Add your GmapsKey to the site.ini under [SiteSettings] like so:
GMapsKey=
(You can do this per siteaccess if you want)

5.) Apply the ezgmaplocation table to your database with the included sql file:
/extension/ezgmaplocation/sql/mysql/mysql.sql
Using either phpmyadmin (easiest) or shell/console commands.

Sql files are also provided for postgresql and oracle - refer to the
database documentation on how to execute queries from a command-line clients

6.) Now you can add the ezgmaplocation datatype like any other datatype when editing classes.

Use (editing)
---------------
1. Type in the address you want to find beneath the map.
2. Click 'Find address'
3. Click 'Update Values' to grab the coordinates.

Repeat to change.
Unless you change the marker on the map, the address will be saved as you typed it.
This address is searchable! (see below for filtering / sorting on coordinates as well)

Use (fetching)
---------------

For fetching multiple nodes based on location, you can use the included ezgmlLocationFilter.
Example fetches users in a distance of roughly 30-50km from Oslo, Norway, and sorts the
results based on how close the nodes are to the given coordinates.

{def $users_close_by = fetch( 'content', 'tree', hash(
                              'parent_node_id', 12,
                              'limit', 3,
                              'sort_by', array( 'distance', true() ),
                              'class_filter_type', 'include',
                              'class_filter_array', array( 'user' ),
                              'extended_attribute_filter', hash( 'id', 'ezgmlLocationFilter', 'params', hash( 'latitude', 59.917,
                                                                                                              'longitude', 10.729,
                                                                                                              'distance', 0.5 ) )
                              ) )}

 Note that the distance filter is using a 'bounding box' for sql speed, see classes/ezgmllocationfilter.php for more info
 and parameters to be able to get true ('arccosine') or closer to true ('pythagorean') circular distance filter accuracy.
 The sort on the other hand is accurate, so if your main concern is to show the closest node, then the filter is ok by default.

 Also see 'arccosine' parameter in combination with 'as_object', false() to be able to get value to easily calculate distance.
 Example use: user x is 2,5 km away from you. Or Oslo, Norway is 416.8km from Stockholm, Sweden.

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance51

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor4

4 contributors hold 50%+ of commits

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 ~36 days

Total

2

Last Release

831d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

Top Contributors

[![patrickallaert](https://avatars.githubusercontent.com/u/195277?v=4)](https://github.com/patrickallaert "patrickallaert (7 commits)")[![thiagocamposviana](https://avatars.githubusercontent.com/u/353112?v=4)](https://github.com/thiagocamposviana "thiagocamposviana (6 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (6 commits)")[![nfrp](https://avatars.githubusercontent.com/u/294488?v=4)](https://github.com/nfrp "nfrp (4 commits)")[![dpobel](https://avatars.githubusercontent.com/u/305563?v=4)](https://github.com/dpobel "dpobel (3 commits)")[![Yannix](https://avatars.githubusercontent.com/u/473976?v=4)](https://github.com/Yannix "Yannix (3 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (2 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (2 commits)")[![netbliss](https://avatars.githubusercontent.com/u/658111?v=4)](https://github.com/netbliss "netbliss (1 commits)")[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (1 commits)")[![oms](https://avatars.githubusercontent.com/u/93066?v=4)](https://github.com/oms "oms (1 commits)")[![leonardod](https://avatars.githubusercontent.com/u/600606?v=4)](https://github.com/leonardod "leonardod (1 commits)")[![radca](https://avatars.githubusercontent.com/u/1591585?v=4)](https://github.com/radca "radca (1 commits)")[![jdespatis](https://avatars.githubusercontent.com/u/919566?v=4)](https://github.com/jdespatis "jdespatis (1 commits)")[![daisiez](https://avatars.githubusercontent.com/u/685857?v=4)](https://github.com/daisiez "daisiez (1 commits)")[![yannickroger](https://avatars.githubusercontent.com/u/4035241?v=4)](https://github.com/yannickroger "yannickroger (1 commits)")[![crevillo](https://avatars.githubusercontent.com/u/306215?v=4)](https://github.com/crevillo "crevillo (1 commits)")

### Embed Badge

![Health badge](/badges/se7enxweb-ezgmaplocation/health.svg)

```
[![Health](https://phpackages.com/badges/se7enxweb-ezgmaplocation/health.svg)](https://phpackages.com/packages/se7enxweb-ezgmaplocation)
```

###  Alternatives

[amstaffix/pagination

Simple pagination

46290.4k6](/packages/amstaffix-pagination)[faonni/module-smart-category

SmartCategory module is a base of Smart Categories functionality.

8289.3k3](/packages/faonni-module-smart-category)[sitegeist/silhouettes

Preconfigure property-silhuettes that can be applied to various properties of multiple NodeTypes.

16157.5k](/packages/sitegeist-silhouettes)[michaeljennings/refinery

A php class to refine data into a set format.

129.5k2](/packages/michaeljennings-refinery)

PHPackages © 2026

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