diff options
Diffstat (limited to 'misc/openlayers/examples/kml/lines.kml')
-rw-r--r-- | misc/openlayers/examples/kml/lines.kml | 275 |
1 files changed, 275 insertions, 0 deletions
diff --git a/misc/openlayers/examples/kml/lines.kml b/misc/openlayers/examples/kml/lines.kml new file mode 100644 index 0000000..5999aaa --- /dev/null +++ b/misc/openlayers/examples/kml/lines.kml @@ -0,0 +1,275 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kml xmlns="http://earth.google.com/kml/2.0"> + <Document> + <name>KML Samples</name> + <open>1</open> + <description>Unleash your creativity with the help of these examples!</description> + <Style id="downArrowIcon"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/pal4/icon28.png</href> + </Icon> + </IconStyle> + </Style> + <Style id="globeIcon"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/pal3/icon19.png</href> + </Icon> + </IconStyle> + <LineStyle> + <width>2</width> + </LineStyle> + </Style> + <Style id="transPurpleLineGreenPoly"> + <LineStyle> + <color>7fff00ff</color> + <width>4</width> + </LineStyle> + <PolyStyle> + <color>7f00ff00</color> + </PolyStyle> + </Style> + <Style id="yellowLineGreenPoly"> + <LineStyle> + <color>7f00ffff</color> + <width>4</width> + </LineStyle> + <PolyStyle> + <color>7f00ff00</color> + </PolyStyle> + </Style> + <Style id="thickBlackLine"> + <LineStyle> + <color>87000000</color> + <width>10</width> + </LineStyle> + </Style> + <Style id="redLineBluePoly"> + <LineStyle> + <color>ff0000ff</color> + </LineStyle> + <PolyStyle> + <color>ffff0000</color> + </PolyStyle> + </Style> + <Style id="blueLineRedPoly"> + <LineStyle> + <color>ffff0000</color> + </LineStyle> + <PolyStyle> + <color>ff0000ff</color> + </PolyStyle> + </Style> + <Style id="transRedPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d0000ff</color> + </PolyStyle> + </Style> + <Style id="transBluePoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7dff0000</color> + </PolyStyle> + </Style> + <Style id="transGreenPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d00ff00</color> + </PolyStyle> + </Style> + <Style id="transYellowPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d00ffff</color> + </PolyStyle> + </Style> + <Style id="noDrivingDirections"> + <BalloonStyle> + <text><![CDATA[ + <b>$[name]</b> + <br /><br /> + $[description] + ]]></text> + </BalloonStyle> + </Style> + <Folder> + <name>Paths</name> + <visibility>0</visibility> + <description>Examples of paths. Note that the tessellate tag is by default + set to 0. If you want to create tessellated lines, they must be authored + (or edited) directly in KML.</description> + <Placemark> + <name>Tessellated</name> + <visibility>0</visibility> + <description><![CDATA[If the <tessellate> tag has a value of 1, the line will contour to the underlying terrain]]></description> + <LookAt> + <longitude>-112.0822680013139</longitude> + <latitude>36.09825589333556</latitude> + <altitude>0</altitude> + <range>2889.145007690472</range> + <tilt>62.04855796276328</tilt> + <heading>103.8120432044965</heading> + </LookAt> + <LineString> + <tessellate>1</tessellate> + <coordinates> -112.0814237830345,36.10677870477137,0 + -112.0870267752693,36.0905099328766,0 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Untessellated</name> + <visibility>0</visibility> + <description><![CDATA[If the <tessellate> tag has a value of 0, the line follow a simple straight-line path from point to point]]></description> + <LookAt> + <longitude>-112.0822680013139</longitude> + <latitude>36.09825589333556</latitude> + <altitude>0</altitude> + <range>2889.145007690472</range> + <tilt>62.04855796276328</tilt> + <heading>103.8120432044965</heading> + </LookAt> + <LineString> + <tessellate>0</tessellate> + <coordinates> -112.080622229595,36.10673460007995,0 + -112.085242575315,36.09049598612422,0 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Absolute</name> + <visibility>0</visibility> + <description>Transparent purple line</description> + <LookAt> + <longitude>-112.2719329043177</longitude> + <latitude>36.08890633450894</latitude> + <altitude>0</altitude> + <range>2569.386744398339</range> + <tilt>44.60763714063257</tilt> + <heading>-106.8161545998597</heading> + </LookAt> + <styleUrl>#transPurpleLineGreenPoly</styleUrl> + <LineString> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <coordinates> -112.265654928602,36.09447672602546,2357 + -112.2660384528238,36.09342608838671,2357 + -112.2668139013453,36.09251058776881,2357 + -112.2677826834445,36.09189827357996,2357 + -112.2688557510952,36.0913137941187,2357 + -112.2694810717219,36.0903677207521,2357 + -112.2695268555611,36.08932171487285,2357 + -112.2690144567276,36.08850916060472,2357 + -112.2681528815339,36.08753813597956,2357 + -112.2670588176031,36.08682685262568,2357 + -112.2657374587321,36.08646312301303,2357 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Absolute Extruded</name> + <visibility>0</visibility> + <description>Transparent green wall with yellow outlines</description> + <LookAt> + <longitude>-112.2643334742529</longitude> + <latitude>36.08563154742419</latitude> + <altitude>0</altitude> + <range>4451.842204068102</range> + <tilt>44.61038665812578</tilt> + <heading>-125.7518698668815</heading> + </LookAt> + <styleUrl>#yellowLineGreenPoly</styleUrl> + <LineString> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <coordinates> -112.2550785337791,36.07954952145647,2357 + -112.2549277039738,36.08117083492122,2357 + -112.2552505069063,36.08260761307279,2357 + -112.2564540158376,36.08395660588506,2357 + -112.2580238976449,36.08511401044813,2357 + -112.2595218489022,36.08584355239394,2357 + -112.2608216347552,36.08612634548589,2357 + -112.262073428656,36.08626019085147,2357 + -112.2633204928495,36.08621519860091,2357 + -112.2644963846444,36.08627897945274,2357 + -112.2656969554589,36.08649599090644,2357 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Relative</name> + <visibility>0</visibility> + <description>Black line (10 pixels wide), height tracks terrain</description> + <LookAt> + <longitude>-112.2580438551384</longitude> + <latitude>36.1072674824385</latitude> + <altitude>0</altitude> + <range>2927.61105910266</range> + <tilt>44.61324882043339</tilt> + <heading>4.947421249553717</heading> + </LookAt> + <styleUrl>#thickBlackLine</styleUrl> + <LineString> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates> -112.2532845153347,36.09886943729116,645 + -112.2540466121145,36.09919570465255,645 + -112.254734666947,36.09984998366178,645 + -112.255493345654,36.10051310621746,645 + -112.2563157098468,36.10108441943419,645 + -112.2568033076439,36.10159722088088,645 + -112.257494011321,36.10204323542867,645 + -112.2584106072308,36.10229131995655,645 + -112.2596588987972,36.10240001286358,645 + -112.2610581199487,36.10213176873407,645 + -112.2626285262793,36.10157011437219,645 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Relative Extruded</name> + <visibility>0</visibility> + <description>Opaque blue walls with red outline, height tracks terrain</description> + <LookAt> + <longitude>-112.2683594333433</longitude> + <latitude>36.09884362144909</latitude> + <altitude>0</altitude> + <range>2184.193522571467</range> + <tilt>44.60855445139561</tilt> + <heading>-72.24271551768405</heading> + </LookAt> + <styleUrl>#redLineBluePoly</styleUrl> + <LineString> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates> -112.2656634181359,36.09445214722695,630 + -112.2652238941097,36.09520916122063,630 + -112.2645079986395,36.09580763864907,630 + -112.2638827428817,36.09628572284063,630 + -112.2635746835406,36.09679275951239,630 + -112.2635711822407,36.09740038871899,630 + -112.2640296531825,36.09804913435539,630 + -112.264327720538,36.09880337400301,630 + -112.2642436562271,36.09963644790288,630 + -112.2639148687042,36.10055381117246,630 + -112.2626894973474,36.10149062823369,630 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Blue Icon</name> + <description>Just another blue icon.</description> + <styleUrl>kml/styles.kml#blueIcons</styleUrl> + <Point> + <coordinates>-112.292238941097,36.09520916122063,630</coordinates> + </Point> + </Placemark> + </Folder> + </Document> +</kml> |