Affichage géolocalisation sur OpenStreetMap

Phoca Gallery - image gallery extension
alain_56
Phoca Member
Phoca Member
Posts: 27
Joined: 16 Mar 2023, 16:11

Affichage géolocalisation sur OpenStreetMap

Post by alain_56 »

Bonjour,
Dans Phoca Gallerie, pouvez-vous me dire comment paramétrer la carte de géolocalisation OpenStreetMap pour afficher la France à la place de la carte du monde (zoom).
Alain

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Affichage géolocalisation sur OpenStreetMap

Post by Benno »

Hi,
what map view are you talking about? The geo button below the individual images of a category or the map that can be displayed below the images in the category view. In any case, you need to set a geocoordinate marker to put France in the center of a map.
See image:
Image

Kind regards,
Benno
alain_56
Phoca Member
Phoca Member
Posts: 27
Joined: 16 Mar 2023, 16:11

Re: Affichage géolocalisation sur OpenStreetMap

Post by alain_56 »

Hi Benno,
The geo button beneath an individual image in a category opens the map. I've set the geographic coordinates (latitude and longitude). How to write and where to place the marker to put France in the center of a map.
Alain
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Affichage géolocalisation sur OpenStreetMap

Post by Benno »

Hi,
see this example:

Image

Image

BTW: If you are using a camera that can store geo-coordinates, you can have the coordinates read from the EXIF information of each image. Then you only have to adjust the zoom factor manually.

Kind regards,
Benno
alain_56
Phoca Member
Phoca Member
Posts: 27
Joined: 16 Mar 2023, 16:11

Re: Affichage géolocalisation sur OpenStreetMap

Post by alain_56 »

Hi Benno,
Thank's
Alain
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Affichage géolocalisation sur OpenStreetMap

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply