Galette

Galette Maps

Requires Galette 1.3.0 or later.

Member geolocation and public map

Maintained by the Galette team

This plugin provides:

Installation

First of all, download the plugin:

Extract the downloaded archive in Galette plugins directory. For example, under linux (replacing {url} and {version} with correct values):

$ cd /var/www/html/galette/plugins
$ wget {url}
$ tar xjvf galette-plugin-maps-{version}.tar.bz2

Database initialisation

In order to work, this plugin requires several tables in the database. See Galette plugins management interface.

And this is finished; Maps plugin is installed :)

Background map

Note

The provider setting appeared in version 2.3.0.

The provider is a setting from Maps settings, in the Configuration menu.

The provider setting, in Maps settings

Several providers are proposed:

Your own values

Warning

Check the usage policy of the provider you choose. Most of them are run by associations or by volunteers, and they set conditions on the traffic they accept.

The last entry of the list, Your own values, replaces the proposed providers with an address of your own — a provider that is not listed, or your own tile server.

The fields of the Your own values entry

Plugin usage

When the plugin is installed, a group Maps is added to Galette menu when a member is logged in, which contains My location entry. This page allow member to store its location.

A Geolocalize button is also added when displaying a member, that allows administrators to set member coordinates.

Also, a Map entry is added in public pages list, that displays geolocalized members that are up to date. Administrators and staff members will see all members, while simple members and visitors will only see up to date public ones.

First of all, members will enter their location coordinates. Several options are provided:

The search zone can be used when saving members location, and when displaying the maps.

The list of towns proposed for a member

A member can define its location (with the precision he wants) on the map selecting one of the propositions:

Selecting a location on the map

Using the geolocalization button will define its position from the browser:

The geolocalize button

Then, member location is displayed on map, and can be removed:

The selected location, displayed on the map