Google Maps directions with KML files

This is in response to Peterkay's post titled Re:Bug in certain KML files.

I've reproduced his two codes below:


Sample 1

Tag used:

{googleDir lat=21.279491 long=-157.744741 zoom=14 control=GSmallZoomControl3D|GMapTypeControl kml=http://www.kksou.com/gmap/test/kml_sample4.kml maptype=G_HYBRID_MAP from="21.271685,-157.822852" to="21.26013471,-157.8183115 to:21.26945086,-157.778877 to:21.31299356,-157.6614052 to: 21.31299356,-157.6614052" }

Sample 2

Tag used:

{googleDir lat=21.279491 long=-157.744741 zoom=14 control=GSmallZoomControl3D|GMapTypeControl maptype=G_HYBRID_MAP from="21.271685,-157.822852" to="21.26013471,-157.8183115 to:21.26945086,-157.778877 to:21.31299356,-157.6614052 to: 21.31299356,-157.6614052" kml=http://www.kksou.com/gmap/test/kml_sample4.kml }