How to display Description from KML file.

Phoca Maps - displaying maps in Joomla! CMS
ptrouw
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Aug 2010, 04:47

How to display Description from KML file.

Post by ptrouw »

Hi,
Using J4 and Phocamap 4.0.2. In my KML file, I am using <description> but the map doesn't display the description. I have checked the KML file with an online KML viewer, and the file structure is good.
Any ideas?
Or is it perhaps not implemented yet?
Cheers Paul
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to display Description from KML file.

Post by Jan »

Hi, do you use Google Maps or OSM? If the map does not display the description tag, then yes, unfortunately, it is not supported by the map :-(

Jan
If you find Phoca extensions useful, please support the project
ptrouw
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Aug 2010, 04:47

Re: How to display Description from KML file.

Post by ptrouw »

Thank you. Yes, I am using Google but I have tried Open Street as well. Showing the map and markers is no problem but I lost additional information from the kml file, like a link to an image or a description of the marker.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to display Description from KML file.

Post by Jan »

Hi, hmmm, if the description is written in standard tag, the API should reay it and display it :idea:

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