Page 1 of 1

Marker kml

Posted: 06 Jul 2017, 17:34
by roudautm
Hello
I use Phoca Maps to view hiking trails from kml files created from google earth.
My problem is the information contained in the markers do not appear on my site when I click on the marker.
On the contrary the plot and the different marker appear well on the screen.
Is there a solution for the information of the markers to be visible ?

Example : http://www.loperhet.bzh/index.php/vie-l ... -randonnee

thank you for the answer

Re: Marker kml

Posted: 07 Jul 2017, 12:47
by Jan
Hi, I am not 100% sure if the google earth kml is 100% compatible with google maps.

Is the format the same like described e.g. here:
https://developers.google.com/kml/docum ... #iconstyle


Try to test your KML here:
http://www.kmlvalidator.com/home.htm

Re: Marker kml

Posted: 07 Jul 2017, 16:24
by roudautm
Hi,

The files looks like at the same format to the documentation.

With kmlvalidator.com, i have some errors :

- kml:Icon element contains a kml:href that does not reference a valid image file. But the file is a valid image file (png).
- XML Schema constraint violations.

If you have a solution, i take it.

Re: Marker kml

Posted: 07 Jul 2017, 16:26
by Jan
Hmmm, really hard to say, try to add some complete Url of the image to the KML and test if this link is accessible?

Jan