Page 1 of 1

Data from KML file not displayed on map

Posted: 18 Oct 2024, 10:59
by guildofen
Hi
I am using phoca maps 4.0.2 and Joomla 4.4.5.

I would like to get data from a KML file to display on a map - but it doesn't show. I think I must be missing something quite basic.

My Google Maps API is working and the map displays correctly. I have put the kml file in phocamaps, at the moment I am just using a sample file with one point.

I have enabled KML file uploading and put the file name in the Google maps configuration for my map.
I have debug enabled and there are no errors, there are no Javascript errors - there is one warning about async loading.

Here is my sample KML

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <Placemark>
      <name>TEST</name>
      <description>
      </description>
      <Point>
        <coordinates>51.026700,-1.398633</coordinates>
      </Point>
    </Placemark>
  </Document>
</kml>

Here is a link to https://guildofe-test.org/index.php/the-guild/ukmap on my test site

Re: Data from KML file not displayed on map

Posted: 18 Oct 2024, 14:20
by guildofen
OK - ignore this. It's not a problem with phoca maps, it's a problem coordinates. My markers are being shown, just that they are in Thailand and not the UK :-/

Re: Data from KML file not displayed on map

Posted: 18 Oct 2024, 14:35
by Benno
Ok.

Kind regards,
Benno