Displaying driving routes between two points

28 views
Skip to first unread message

Highway Rob

unread,
Oct 11, 2017, 9:01:38 AM10/11/17
to KML Framework

I have currently generate KML files and pass to Google Earth.  We depict the routes between two points with a line.
Is it possible to have Google Earth draw a 'driving route' between the two points as opposed to just a straight line?

Here is an excerpt from a KML file we generate to display a straight lines between two points.

<kml xmlns="http://earth.google.com/kml/2.0">
<Document>

<Style><LineStyle><color>#ff0000ff</color><width>3</width></LineStyle></Style></Placemark>
<Placemark>
<name>Untitled Path</name>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-82.394683,29.709776,0
-84.339167,33.807222,0
-88.663361,33.9265,0
-89.942222,32.801111,0
-92.124556,32.822889,0
-92.488889,34.796944,0
-97.514722,37.773889,0
-97.305556,40.883056,0
-97.6794,41.5411,0
-98.2825,41.940556,0
-77.703614,37.504681,0
</coordinates>
</LineString>

</Document></kml>

How can we have it display the driving route?

Thank you in advance for your input,
Rob
Reply all
Reply to author
Forward
0 new messages