]> dev.renevier.net Git - syp.git/blob - openlayers/examples/kml/lines.kml
initial commit
[syp.git] / openlayers / examples / kml / lines.kml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <kml xmlns="http://earth.google.com/kml/2.0">
3   <Document>
4     <name>KML Samples</name>
5     <open>1</open>
6     <description>Unleash your creativity with the help of these examples!</description>
7     <Style id="downArrowIcon">
8       <IconStyle>
9         <Icon>
10           <href>http://maps.google.com/mapfiles/kml/pal4/icon28.png</href>
11         </Icon>
12       </IconStyle>
13     </Style>
14     <Style id="globeIcon">
15       <IconStyle>
16         <Icon>
17           <href>http://maps.google.com/mapfiles/kml/pal3/icon19.png</href>
18         </Icon>
19       </IconStyle>
20       <LineStyle>
21         <width>2</width>
22       </LineStyle>
23     </Style>
24     <Style id="transPurpleLineGreenPoly">
25       <LineStyle>
26         <color>7fff00ff</color>
27         <width>4</width>
28       </LineStyle>
29       <PolyStyle>
30         <color>7f00ff00</color>
31       </PolyStyle>
32     </Style>
33     <Style id="yellowLineGreenPoly">
34       <LineStyle>
35         <color>7f00ffff</color>
36         <width>4</width>
37       </LineStyle>
38       <PolyStyle>
39         <color>7f00ff00</color>
40       </PolyStyle>
41     </Style>
42     <Style id="thickBlackLine">
43       <LineStyle>
44         <color>87000000</color>
45         <width>10</width>
46       </LineStyle>
47     </Style>
48     <Style id="redLineBluePoly">
49       <LineStyle>
50         <color>ff0000ff</color>
51       </LineStyle>
52       <PolyStyle>
53         <color>ffff0000</color>
54       </PolyStyle>
55     </Style>
56     <Style id="blueLineRedPoly">
57       <LineStyle>
58         <color>ffff0000</color>
59       </LineStyle>
60       <PolyStyle>
61         <color>ff0000ff</color>
62       </PolyStyle>
63     </Style>
64     <Style id="transRedPoly">
65       <LineStyle>
66         <width>1.5</width>
67       </LineStyle>
68       <PolyStyle>
69         <color>7d0000ff</color>
70       </PolyStyle>
71     </Style>
72     <Style id="transBluePoly">
73       <LineStyle>
74         <width>1.5</width>
75       </LineStyle>
76       <PolyStyle>
77         <color>7dff0000</color>
78       </PolyStyle>
79     </Style>
80     <Style id="transGreenPoly">
81       <LineStyle>
82         <width>1.5</width>
83       </LineStyle>
84       <PolyStyle>
85         <color>7d00ff00</color>
86       </PolyStyle>
87     </Style>
88     <Style id="transYellowPoly">
89       <LineStyle>
90         <width>1.5</width>
91       </LineStyle>
92       <PolyStyle>
93         <color>7d00ffff</color>
94       </PolyStyle>
95     </Style>
96     <Style id="noDrivingDirections">
97       <BalloonStyle>
98         <text><![CDATA[
99           <b>$[name]</b>
100           <br /><br />
101           $[description]
102         ]]></text>
103       </BalloonStyle>
104     </Style>
105     <Folder>
106       <name>Paths</name>
107       <visibility>0</visibility>
108       <description>Examples of paths. Note that the tessellate tag is by default
109         set to 0. If you want to create tessellated lines, they must be authored
110         (or edited) directly in KML.</description>
111       <Placemark>
112         <name>Tessellated</name>
113         <visibility>0</visibility>
114         <description><![CDATA[If the <tessellate> tag has a value of 1, the line will contour to the underlying terrain]]></description>
115         <LookAt>
116           <longitude>-112.0822680013139</longitude>
117           <latitude>36.09825589333556</latitude>
118           <altitude>0</altitude>
119           <range>2889.145007690472</range>
120           <tilt>62.04855796276328</tilt>
121           <heading>103.8120432044965</heading>
122         </LookAt>
123         <LineString>
124           <tessellate>1</tessellate>
125           <coordinates> -112.0814237830345,36.10677870477137,0
126             -112.0870267752693,36.0905099328766,0 </coordinates>
127         </LineString>
128       </Placemark>
129       <Placemark>
130         <name>Untessellated</name>
131         <visibility>0</visibility>
132         <description><![CDATA[If the <tessellate> tag has a value of 0, the line follow a simple straight-line path from point to point]]></description>
133         <LookAt>
134           <longitude>-112.0822680013139</longitude>
135           <latitude>36.09825589333556</latitude>
136           <altitude>0</altitude>
137           <range>2889.145007690472</range>
138           <tilt>62.04855796276328</tilt>
139           <heading>103.8120432044965</heading>
140         </LookAt>
141         <LineString>
142           <tessellate>0</tessellate>
143           <coordinates> -112.080622229595,36.10673460007995,0
144             -112.085242575315,36.09049598612422,0 </coordinates>
145         </LineString>
146       </Placemark>
147       <Placemark>
148         <name>Absolute</name>
149         <visibility>0</visibility>
150         <description>Transparent purple line</description>
151         <LookAt>
152           <longitude>-112.2719329043177</longitude>
153           <latitude>36.08890633450894</latitude>
154           <altitude>0</altitude>
155           <range>2569.386744398339</range>
156           <tilt>44.60763714063257</tilt>
157           <heading>-106.8161545998597</heading>
158         </LookAt>
159         <styleUrl>#transPurpleLineGreenPoly</styleUrl>
160         <LineString>
161           <tessellate>1</tessellate>
162           <altitudeMode>absolute</altitudeMode>
163           <coordinates> -112.265654928602,36.09447672602546,2357
164             -112.2660384528238,36.09342608838671,2357
165             -112.2668139013453,36.09251058776881,2357
166             -112.2677826834445,36.09189827357996,2357
167             -112.2688557510952,36.0913137941187,2357
168             -112.2694810717219,36.0903677207521,2357
169             -112.2695268555611,36.08932171487285,2357
170             -112.2690144567276,36.08850916060472,2357
171             -112.2681528815339,36.08753813597956,2357
172             -112.2670588176031,36.08682685262568,2357
173             -112.2657374587321,36.08646312301303,2357 </coordinates>
174         </LineString>
175       </Placemark>
176       <Placemark>
177         <name>Absolute Extruded</name>
178         <visibility>0</visibility>
179         <description>Transparent green wall with yellow outlines</description>
180         <LookAt>
181           <longitude>-112.2643334742529</longitude>
182           <latitude>36.08563154742419</latitude>
183           <altitude>0</altitude>
184           <range>4451.842204068102</range>
185           <tilt>44.61038665812578</tilt>
186           <heading>-125.7518698668815</heading>
187         </LookAt>
188         <styleUrl>#yellowLineGreenPoly</styleUrl>
189         <LineString>
190           <extrude>1</extrude>
191           <tessellate>1</tessellate>
192           <altitudeMode>absolute</altitudeMode>
193           <coordinates> -112.2550785337791,36.07954952145647,2357
194             -112.2549277039738,36.08117083492122,2357
195             -112.2552505069063,36.08260761307279,2357
196             -112.2564540158376,36.08395660588506,2357
197             -112.2580238976449,36.08511401044813,2357
198             -112.2595218489022,36.08584355239394,2357
199             -112.2608216347552,36.08612634548589,2357
200             -112.262073428656,36.08626019085147,2357
201             -112.2633204928495,36.08621519860091,2357
202             -112.2644963846444,36.08627897945274,2357
203             -112.2656969554589,36.08649599090644,2357 </coordinates>
204         </LineString>
205       </Placemark>
206       <Placemark>
207         <name>Relative</name>
208         <visibility>0</visibility>
209         <description>Black line (10 pixels wide), height tracks terrain</description>
210         <LookAt>
211           <longitude>-112.2580438551384</longitude>
212           <latitude>36.1072674824385</latitude>
213           <altitude>0</altitude>
214           <range>2927.61105910266</range>
215           <tilt>44.61324882043339</tilt>
216           <heading>4.947421249553717</heading>
217         </LookAt>
218         <styleUrl>#thickBlackLine</styleUrl>
219         <LineString>
220           <tessellate>1</tessellate>
221           <altitudeMode>relativeToGround</altitudeMode>
222           <coordinates> -112.2532845153347,36.09886943729116,645
223             -112.2540466121145,36.09919570465255,645
224             -112.254734666947,36.09984998366178,645
225             -112.255493345654,36.10051310621746,645
226             -112.2563157098468,36.10108441943419,645
227             -112.2568033076439,36.10159722088088,645
228             -112.257494011321,36.10204323542867,645
229             -112.2584106072308,36.10229131995655,645
230             -112.2596588987972,36.10240001286358,645
231             -112.2610581199487,36.10213176873407,645
232             -112.2626285262793,36.10157011437219,645 </coordinates>
233         </LineString>
234       </Placemark>
235       <Placemark>
236         <name>Relative Extruded</name>
237         <visibility>0</visibility>
238         <description>Opaque blue walls with red outline, height tracks terrain</description>
239         <LookAt>
240           <longitude>-112.2683594333433</longitude>
241           <latitude>36.09884362144909</latitude>
242           <altitude>0</altitude>
243           <range>2184.193522571467</range>
244           <tilt>44.60855445139561</tilt>
245           <heading>-72.24271551768405</heading>
246         </LookAt>
247         <styleUrl>#redLineBluePoly</styleUrl>
248         <LineString>
249           <extrude>1</extrude>
250           <tessellate>1</tessellate>
251           <altitudeMode>relativeToGround</altitudeMode>
252           <coordinates> -112.2656634181359,36.09445214722695,630
253             -112.2652238941097,36.09520916122063,630
254             -112.2645079986395,36.09580763864907,630
255             -112.2638827428817,36.09628572284063,630
256             -112.2635746835406,36.09679275951239,630
257             -112.2635711822407,36.09740038871899,630
258             -112.2640296531825,36.09804913435539,630
259             -112.264327720538,36.09880337400301,630
260             -112.2642436562271,36.09963644790288,630
261             -112.2639148687042,36.10055381117246,630
262             -112.2626894973474,36.10149062823369,630 </coordinates>
263         </LineString>
264       </Placemark>
265                 <Placemark>
266                         <name>Blue Icon</name>
267                         <description>Just another blue icon.</description>
268                         <styleUrl>kml/styles.kml#blueIcons</styleUrl>
269                         <Point>
270                                 <coordinates>-112.292238941097,36.09520916122063,630</coordinates>
271                         </Point>
272                 </Placemark>
273     </Folder>
274   </Document>
275 </kml>