PHPackages                             ezsystems/ezgmaplocation-ls-extension - 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. ezsystems/ezgmaplocation-ls-extension

ActiveEzpublish-legacy-extension

ezsystems/ezgmaplocation-ls-extension
=====================================

eZ Publish Legacy map location datatype extension

v5.3.3(7y ago)9407.3k↓40.5%73GPL-2.0PHP

Since May 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ezsystems/ezgmaplocation-ls-extension)[ Packagist](https://packagist.org/packages/ezsystems/ezgmaplocation-ls-extension)[ RSS](/packages/ezsystems-ezgmaplocation-ls-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (3)

```
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

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

2765d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/235928?v=4)[Bertrand Dunogier](/maintainers/bdunogier)[@bdunogier](https://github.com/bdunogier)

![](https://avatars.githubusercontent.com/u/681611?v=4)[Ibexa Bot](/maintainers/ezrobot)[@ezrobot](https://github.com/ezrobot)

![](https://avatars.githubusercontent.com/u/130489?v=4)[Łukasz Serwatka](/maintainers/lserwatka)[@lserwatka](https://github.com/lserwatka)

---

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)")[![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)")[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (1 commits)")[![netbliss](https://avatars.githubusercontent.com/u/658111?v=4)](https://github.com/netbliss "netbliss (1 commits)")[![leonardod](https://avatars.githubusercontent.com/u/600606?v=4)](https://github.com/leonardod "leonardod (1 commits)")[![oms](https://avatars.githubusercontent.com/u/93066?v=4)](https://github.com/oms "oms (1 commits)")[![jdespatis](https://avatars.githubusercontent.com/u/919566?v=4)](https://github.com/jdespatis "jdespatis (1 commits)")[![radca](https://avatars.githubusercontent.com/u/1591585?v=4)](https://github.com/radca "radca (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/ezsystems-ezgmaplocation-ls-extension/health.svg)

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

###  Alternatives

[ezsystems/ezpublish-legacy

eZ Publish Legacy (aka LegacyStack in 5.x. Is an updated version of eZ Publish 4.x cable of being combined with eZ Platform)

252242.4k18](/packages/ezsystems-ezpublish-legacy)[ezsystems/eztags-ls

eZ Tags is an extension for eZ Publish, providing more functionality for tagging content objects than ezkeyword datatype included in eZ Publish kernel.

40203.6k2](/packages/ezsystems-eztags-ls)[ezsystems/ezie-ls

An image editor for simple and usual image modifications integrated in the editing interface of any eZ Publish Content Object that has at least an image as attribute.

27412.4k3](/packages/ezsystems-ezie-ls)[ezsystems/ezautosave-ls

Content editing autosave extension for eZ Publish legacy

22423.2k3](/packages/ezsystems-ezautosave-ls)[ezsystems/ezmultiupload-ls

Multi-upload extension for eZ Publish legacy

22415.1k3](/packages/ezsystems-ezmultiupload-ls)[ezsystems/ezodf-ls

This extension enables import and export of OpenOffice.org Writer documents within eZ Publish legacy

21411.2k3](/packages/ezsystems-ezodf-ls)

PHPackages © 2026

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