Page 1 of 1

Géolocalisation, le marqueur ne s'affiche pas

Posted: 29 Nov 2023, 22:57
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

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

Posted: 30 Nov 2023, 02:08
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).

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

Posted: 30 Nov 2023, 11:05
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

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

Posted: 03 Dec 2023, 01:05
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

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

Posted: 03 Dec 2023, 10:50
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

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

Posted: 07 Dec 2023, 19:28
by Jan
Ok, thank you for the info.

Jan