Subversion Repositories NaviCtrl

Rev

Rev 740 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24 StephanB 1
//________________________________________________________________________________________________________________________________________
2
// 
3
// Definition of KML header and footer elements for documents, placemarks and linestrings
4
//                              
5
//________________________________________________________________________________________________________________________________________
516 holgerb 6
const s8 KML_DOCUMENT_HEADER1[] =
24 StephanB 7
{
8
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
9
"<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n"
10
"<Document>\r\n"
516 holgerb 11
"<name>MikroKopter "
12
};
13
 
14
const s8 KML_DOCUMENT_HEADER2[] =
15
{
16
"</name>\r\n"
17
//"\r\n"
41 ingob 18
"<Style id=\"MK_gps-style\">\r\n"
19
"<LineStyle>\r\n"
20
"<color>ff0000ff</color>\r\n"
21
"<width>2</width>\r\n"
22
"</LineStyle>\r\n"
23
"</Style>\r\n"
740 holgerb 24
};             
24 StephanB 25
 
516 holgerb 26
 
24 StephanB 27
//________________________________________________________________________________________________________________________________________
28
// 
29
// footer of an KML- file.
30
//                              
31
//________________________________________________________________________________________________________________________________________
32
const s8 KML_DOCUMENT_FOOTER[] =
33
{
41 ingob 34
"</Document>\r\n"
24 StephanB 35
"</kml>\r\n"
36
};
37
 
38
//________________________________________________________________________________________________________________________________________
39
// 
40
// Header of an placemark
41
//                              
42
//________________________________________________________________________________________________________________________________________
43
const s8 KML_PLACEMARK_HEADER[] =
41 ingob 44
{
45
"<Placemark>\r\n"
46
"<name>Flight</name>\r\n"
47
"<styleUrl>#MK_gps-style</styleUrl>\r\n"
48
};
24 StephanB 49
 
50
//________________________________________________________________________________________________________________________________________
51
// 
52
// Footer of an placemark
53
//                              
54
//________________________________________________________________________________________________________________________________________
41 ingob 55
const s8 KML_PLACEMARK_FOOTER[] =
56
{
57
"</Placemark>\r\n"
58
};
24 StephanB 59
 
60
 
61
//________________________________________________________________________________________________________________________________________
62
// 
85 killagreg 63
// Header of an linestring
24 StephanB 64
//                              
65
//________________________________________________________________________________________________________________________________________
41 ingob 66
const s8 KML_LINESTRING_HEADER[] =
67
{
68
"<LineString>\r\n"
69
"<tessellate>1</tessellate>\r\n"
70
"<altitudeMode>relativeToGround</altitudeMode>\r\n"  // also possible "absolute"
434 holgerb 71
"<coordinates>"
24 StephanB 72
};
73
 
74
//________________________________________________________________________________________________________________________________________
75
// 
76
// Footer of an linestring
77
//                              
78
//________________________________________________________________________________________________________________________________________
41 ingob 79
const s8 KML_LINESTRING_FOOTER[] =
80
{
81
"\r\n</coordinates>"
82
"\r\n</LineString>\r\n"
24 StephanB 83
};
84