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 ?
KML does not load
-
- Phoca Member
- Posts: 27
- Joined: 05 May 2011, 19:32
- Location: Montreal
Re: KML does not load
Nobody ?
-
- Phoca Newbie
- Posts: 4
- Joined: 11 Feb 2011, 21:08
Re: KML does not load
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: KML does not load
Hi, try to test the version 2.0.1, the KML loading is made by Google Maps API not by external library.
Jan
Jan
If you find Phoca extensions useful, please support the project