Data from KML file not displayed on map

Phoca Maps - displaying maps in Joomla! CMS
guildofen
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 05 Feb 2022, 21:16

Data from KML file not displayed on map

Post 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

Tags:
guildofen
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 05 Feb 2022, 21:16

Re: Data from KML file not displayed on map

Post 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 :-/
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9428
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Data from KML file not displayed on map

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply