##

#### El módulo en el entorno NPDS.

Geoloc, creado por Jean-Pierre Barbary (jpb), permite la geolocalización de los visitantes de su sitio (miembros y anónimos) NPDS.
Geoloc utiliza API de Openlayers.
La visualización es configurable por el usuario.

##

#### ¿Qué tipos de mapas se pueden mostrar?

##### mapa básico

Puede elegir entre varios proveedores de datos que ofrecen varios tipos de antecedentes temáticos:

###### Plan (OSM)

###### Paisaje (Mapbox)

###### Mapa (Mapbox)

###### Satélite (Nasa)

###### Satélite (Bing maps)

###### Satélite y etiquetas (Bing maps)

###### Plano (Bing maps)

##### Capa de utilidad

Tienes dos capas de utilidad que puedes superponer a cualquier mapa de fondo: una cuadrícula de meridianos y paralelos y una capa que representa las líneas de costas y fronteras:

###### Cuadrícula

###### Costas y fronteras

##

#### ¿Qué puede hacer el usuario?

El usuario dispone de una serie de herramientas para visualizar a su conveniencia el mapa. La mayoría de estas herramientas están ubicadas en el panel lateral derecho. Este panel es retráctil haciendo clic en el
.
Este panel se divide en 4 bloques:

- Functions
- Members online
- Anonymous
- Members

##### The Functions block

###### Define or modify its geolocation

The upper part of the block contains the command allowing the geolocation of the user, as described in the section How do we geolocate?

###### Choose the background map

The user can change the type of displayed maps by clicking on the drop-down menu and then selecting a map background. The opacity of the map backgrounds can be changed with the cursor. For the images provided by NASA a cursor allows to choose the date of the images on the last 7 days.

###### Utility layer

By clicking on the switcher
you can add or remove one or more utility layers.
The types of available map backgrounds and utility layers were described in the previous section: What types of cards can be displayed?

##### The blocks of visitors

These three retractable blocks present the lists of visitors by type and allow their switcher to display them or not on the map.

###### Choisir la géolocalisation affichée

- The members geo-referenced connected.
- The anonymous geo-referenced connected.
- The members geo-referenced not connected.

How to interpret the visualization of information?

##### Manipulate the map

This control is the tool used to zoom. You can also use the double click, the touchpad or the wheel (which will be active after a first click on the map...) ...

Move the map by holding the click, the map follows the move of the mouse.

This control allows you to view the map in full screen (depending on your browser’s capabilities)...

The combination ⌥⇧ click allows the map to be rotated. Once the rotation starts this control appears
it allows to redirects the map to the north...

##### Map scale

500 km
Each time you change the map zoom, the scale is automatically updated. The distance units are in kilometer.

##### Technical information of the map

You also have at the left foot of the map the precise geographical coordinates of the position of your mouse pointer on the map.

##

#### How can the visualization of information be interpreted?

All three blocks have a retractable list of georeferenced elements. With the switcher these can be displayed or not on the map.
A click on an item in the list will target and center this one on the map, and opens a window.
Clicking on the map icons opens a window with information and commands depending on the georeferenced element type. As described below.
The members geo-referenced connected.
The anonymous geo-referenced connected.
The members geo-referenced not connected.
Notice: in the members block you can search and filter...

##### The three types of windows displayed on the map:

Online geolocated member window

In this window we find: the member’s username and avatar, and links to the user’s profile, website or minisite, social networks, as well as direct access to internal messaging if you are a member of the site.

Geolocated member window

In this window we find: the username and avatar of the member, the date of his last visit, and links allowing to consult the profile, the website or the minisite of this user as well as a direct access to the internal messaging if you are a member of the site.

Online geolocated anonymous window

In this window we find: the IP address as well as the name of the host, the number of visits of this IP, the page consulted on the site and some geographical information.

NB: the shapes and colors of the icons may vary because they depend on the choice of parameters by administrators and/or themes used.

##

#### How do we geolocate?

To register, you must be a registered member of the site.
Two methods are available:
- text :
go to your profile `/user.php?op=edituser`
fill in the latitude and longitude fields (in decimal form: e.g. 34.9936)
then validate.
NB: only this method, by deleting the latitude and longitude information, makes it possible to no longer be geolocated.
- graphic :
go to your profile `/user.php?op=edituser` and click at the bottom of the left page on the icon
or
If the map block exists in the current page click on its map link
or
go to `/modules.php?ModPath=geoloc&ModStart=geoloc`
On the map. Unfold the functions block of the sidebar and select the check box "Set or change position" then click on the map at the desired point. A window opens and asks you to confirm your registration. To change the positioning, the same procedure must be used.

#### Localization

To position yourself carefully, it is necessary to zoom the map. Don’t forget to click on the save button to validate your position.

#### Re-localization

If you want to change your position, the display shows your registered position and proposes to validate the new position.