Page 1 of 1

KML does not load

Posted: 22 Jun 2011, 14:08
by Herve
Hi,

I am trying to use the KML but it does not load. I have the componenent and the plugin installed.
The KML is located there : phocamapskml
The KML file name is in the right field in the setup of the MAP.
The KML loading is set to YES in the parameters of the component.
I am using the plugin in an article like this :

{phocamaps view=map|id=1|kmlfile=1}

The example file that I am using is the first one from Google
http://code.google.com/intl/fr/apis/kml ... l_tut.html

The MAP is displayed but not the info from the KML, I am not using IE.

the code source of the page has this : (name site replaced by xxxxxxxxxxx)

mapPhocaMapPlgPM1 = new google.maps.Map(document.getElementById('phocaMapPlgPM1'), phocaOptionsPlgPM1);
var phocaGeoXmlPlgPM1 = new geoXML3.parser({map: mapPhocaMapPlgPM1});
phocaGeoXmlPlgPM1.parse('http://www.xxxxxxxxxxxx.com/phocamapskml/test.kml');
google.maps.event.addDomListener(tstPhocaMapPlgPM1, 'DOMMouseScroll', CancelEventPhocaMapPlgPM1);
google.maps.event.addDomListener(tstPhocaMapPlgPM1, 'mousewheel', CancelEventPhocaMapPlgPM1); }
}

I tested my kml file with Google Maps without any issue.

Any idea ?

Re: KML does not load

Posted: 28 Jun 2011, 04:03
by Herve
Nobody ?

Re: KML does not load

Posted: 08 Jul 2011, 22:50
by eskayel
I am having the same problem and I've ensured I've followed the same steps as Herve...

There must be some secret that I do not know and it's making me crazy. Can somebody please help? I have scoured the forums and found no help at all.

I am using Joomla 1.6 and Phoca Maps 2.0.0

Thanks

Re: KML does not load

Posted: 26 Jul 2011, 19:47
by Jan
Hi, try to test the version 2.0.1, the KML loading is made by Google Maps API not by external library.

Jan