Géolocalisation, le marqueur ne s'affiche pas

Phoca Gallery - image gallery extension
Carmiel
Phoca Member
Phoca Member
Posts: 12
Joined: 02 May 2017, 14:47

Géolocalisation, le marqueur ne s'affiche pas

Post by Carmiel »

Bonjour,
Dans la carte de géolocalisation le marqueur ne s'affiche pas, il est remplacé par un icone "image absente".
https://www.frejusva.org/images/divers/erreur.jpg
Une idée pourquoi ?
Merci
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47704
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Géolocalisation, le marqueur ne s'affiche pas

Post by Jan »

Hi, which version of Phoca Maps do you use? This can be caused by missing e.g. font-awesome font library on your site. Depends on which class do you use (if Bootstrap or FontAwesome).
If you find Phoca extensions useful, please support the project
Carmiel
Phoca Member
Phoca Member
Posts: 12
Joined: 02 May 2017, 14:47

Re: Géolocalisation, le marqueur ne s'affiche pas

Post by Carmiel »

Bonjour,
Merci du retour.
Ici les versions de Phoca Galery et ce qui est installé de awesome.
https://www.frejusva.org/images/divers/erreur2.jpg
https://www.frejusva.org/images/divers/erreur3.jpg

J'ai vu ça dans le log, mais je ne vois pas ce qui génère l'erreur.
https://www.frejusva.org/images/divers/erreur4.jpg
Merci
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47704
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Géolocalisation, le marqueur ne s'affiche pas

Post by Jan »

Hi, both links are links from core library: media/com_phocagallery/js/leaflet/leaflet.js so the question is why they cannot be found, is your Phoca Gallery properly installed. Testing now, everything is OK. Which version of Joomla do you use?

Jan
If you find Phoca extensions useful, please support the project
Carmiel
Phoca Member
Phoca Member
Posts: 12
Joined: 02 May 2017, 14:47

Re: Géolocalisation, le marqueur ne s'affiche pas

Post by Carmiel »

Hi Jan,
Leaflet library was there, but not functional, so I downloaded the library here https://leafletjs.com/download.html and replaced the original by this version.
It generated this error : Image
So I've created the folder /photos and copied there the icons included in the leaflet library.
Now it works :D
It is not so clean to do it like that, but it works.
Thank's for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47704
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Géolocalisation, le marqueur ne s'affiche pas

Post by Jan »

Ok, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply