Example php function to display KML file

1,008 views
Skip to first unread message

merlin

unread,
Feb 11, 2010, 7:04:52 AM2/11/10
to KML Developer Support - Getting Started with KML
Hi All,
I just discovered this world when someone sent me a bunch of
KML files - does anyone have an example function or piece of php code
for calling Google Maps that I can pass a KML file to display the KML
info,

My hope is to build a php page with a 400 x 400 cell and display my
map and KML info

This is my first venture into this world of maps and KML files - many
thanks fro any help.

Maarten L

unread,
Feb 11, 2010, 5:15:00 PM2/11/10
to KML Developer Support - Getting Started with KML
You should use the Google Maps API. You can create a kml overlay with
GGeoXml: http://code.google.com/apis/maps/documentation/services.html#XML_Overlays

Berwyn

unread,
Feb 13, 2010, 4:30:52 PM2/13/10
to KML Developer Support - Getting Started with KML
You might want to check out the google earth api, http://code.google.com/apis/earth/
kml files are better supported in the earth plugin

http://code.google.com/apis/earth/documentation/kml.html
Reply all
Reply to author
Forward
0 new messages