Rev 41 | Rev 434 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 41 | Rev 85 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //________________________________________________________________________________________________________________________________________ |
1 | //________________________________________________________________________________________________________________________________________ |
2 | // |
2 | // |
3 | // Definition of KML header and footer elements for documents, placemarks and linestrings |
3 | // Definition of KML header and footer elements for documents, placemarks and linestrings |
4 | // |
4 | // |
5 | //________________________________________________________________________________________________________________________________________ |
5 | //________________________________________________________________________________________________________________________________________ |
6 | - | ||
7 | - | ||
8 | const s8 KML_DOCUMENT_HEADER[] = |
6 | const s8 KML_DOCUMENT_HEADER[] = |
9 | { |
7 | { |
10 | "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n" |
8 | "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n" |
11 | "<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n" |
9 | "<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n" |
12 | "<Document>\r\n" |
10 | "<Document>\r\n" |
Line 18... | Line 16... | ||
18 | "<width>2</width>\r\n" |
16 | "<width>2</width>\r\n" |
19 | "</LineStyle>\r\n" |
17 | "</LineStyle>\r\n" |
20 | "</Style>\r\n" |
18 | "</Style>\r\n" |
21 | }; |
19 | }; |
Line 22... | Line -... | ||
22 | - | ||
23 | - | ||
24 | - | ||
25 | 20 | ||
26 | //________________________________________________________________________________________________________________________________________ |
21 | //________________________________________________________________________________________________________________________________________ |
27 | // |
22 | // |
28 | // footer of an KML- file. |
23 | // footer of an KML- file. |
29 | // |
24 | // |
30 | //________________________________________________________________________________________________________________________________________ |
- | |
31 | - | ||
32 | 25 | //________________________________________________________________________________________________________________________________________ |
|
33 | const s8 KML_DOCUMENT_FOOTER[] = |
26 | const s8 KML_DOCUMENT_FOOTER[] = |
34 | { |
27 | { |
35 | "</Document>\r\n" |
28 | "</Document>\r\n" |
36 | "</kml>\r\n" |
29 | "</kml>\r\n" |
Line 37... | Line -... | ||
37 | }; |
- | |
38 | - | ||
39 | 30 | }; |
|
40 | 31 | ||
41 | //________________________________________________________________________________________________________________________________________ |
32 | //________________________________________________________________________________________________________________________________________ |
42 | // |
33 | // |
43 | // Header of an placemark |
34 | // Header of an placemark |
44 | // |
- | |
45 | //________________________________________________________________________________________________________________________________________ |
35 | // |
46 | 36 | //________________________________________________________________________________________________________________________________________ |
|
47 | const s8 KML_PLACEMARK_HEADER[] = |
37 | const s8 KML_PLACEMARK_HEADER[] = |
48 | { |
38 | { |
49 | "<Placemark>\r\n" |
39 | "<Placemark>\r\n" |
Line 54... | Line 44... | ||
54 | //________________________________________________________________________________________________________________________________________ |
44 | //________________________________________________________________________________________________________________________________________ |
55 | // |
45 | // |
56 | // Footer of an placemark |
46 | // Footer of an placemark |
57 | // |
47 | // |
58 | //________________________________________________________________________________________________________________________________________ |
48 | //________________________________________________________________________________________________________________________________________ |
59 | - | ||
60 | const s8 KML_PLACEMARK_FOOTER[] = |
49 | const s8 KML_PLACEMARK_FOOTER[] = |
61 | { |
50 | { |
62 | "</Placemark>\r\n" |
51 | "</Placemark>\r\n" |
63 | }; |
52 | }; |
Line 64... | Line 53... | ||
64 | 53 | ||
65 | 54 | ||
66 | //________________________________________________________________________________________________________________________________________ |
55 | //________________________________________________________________________________________________________________________________________ |
67 | // |
56 | // |
68 | // Footer of an placemark |
57 | // Header of an linestring |
69 | // |
- | |
70 | //________________________________________________________________________________________________________________________________________ |
58 | // |
71 | 59 | //________________________________________________________________________________________________________________________________________ |
|
72 | const s8 KML_LINESTRING_HEADER[] = |
60 | const s8 KML_LINESTRING_HEADER[] = |
73 | { |
61 | { |
74 | "<LineString>\r\n" |
62 | "<LineString>\r\n" |
Line 80... | Line 68... | ||
80 | //________________________________________________________________________________________________________________________________________ |
68 | //________________________________________________________________________________________________________________________________________ |
81 | // |
69 | // |
82 | // Footer of an linestring |
70 | // Footer of an linestring |
83 | // |
71 | // |
84 | //________________________________________________________________________________________________________________________________________ |
72 | //________________________________________________________________________________________________________________________________________ |
85 | - | ||
86 | const s8 KML_LINESTRING_FOOTER[] = |
73 | const s8 KML_LINESTRING_FOOTER[] = |
87 | { |
74 | { |
88 | "\r\n</coordinates>" |
75 | "\r\n</coordinates>" |
89 | "\r\n</LineString>\r\n" |
76 | "\r\n</LineString>\r\n" |
90 | }; |
77 | }; |