File: styles.kml

package info (click to toggle)
libkml 1.3.0~r864%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 27,396 kB
  • ctags: 13,514
  • sloc: cpp: 65,998; sh: 19,598; ansic: 13,333; python: 3,289; makefile: 2,645; xml: 1,806; php: 223; java: 195; ruby: 109; perl: 108
file content (79 lines) | stat: -rw-r--r-- 1,945 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<!--
All style elements with non-default values.

Note: XHTML in CDATA must conform to the HTML Compatibility guidelines as
detailed in http://www.w3.org/TR/xhtml1/#guidelines. See in particular section
C2, which requires <br /> over <br>.

-->
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <!-- IconStyle -->
  <Style id="iconstyle">
    <IconStyle>
      <scale>1.2</scale>
      <heading>90.5</heading>
      <Icon>
        <href>http://example.com/image.png</href>
      </Icon>
      <hotSpot x="0.1" y="10" xunits="fraction" yunits="pixels"/>
    </IconStyle>
  </Style>
  <!-- LabelStyle -->
  <Style id="labelstyle">
    <LabelStyle>
      <scale>0.8</scale>
    </LabelStyle>
  </Style>
  <!-- LineStyle -->
  <Style id="linestyle">
    <LineStyle>
      <width>2</width>
    </LineStyle>
  </Style>
  <!-- PolyStyle -->
  <Style id="polystyle">
    <PolyStyle>
      <fill>0</fill>
      <outline>0</outline>
    </PolyStyle>
  </Style>
  <!-- BalloonStyle -->
  <Style id="balloonstyle">
    <BalloonStyle>
      <bgcolor>00112233</bgcolor>
      <textColor>33221100</textColor>
      <text><![CDATA[<b>$[name]</b><br /><br />$[description]]]></text>
      <displayMode>hide</displayMode>
    </BalloonStyle>
  </Style>
  <!-- ListStyle -->
  <Style id="liststyle">
    <ListStyle>
      <listItemType>checkHideChildren</listItemType>
      <bgcolor>00112233</bgcolor>
      <ItemIcon>
        <state>closed</state>
        <href>http://example.com/image.png</href>
      </ItemIcon>
    </ListStyle>
  </Style>
  <!-- StyleMap -->
  <StyleMap id="stylemap">
    <Pair>
      <key>normal</key>
      <styleUrl>http://example.com/style.kml</styleUrl>
    </Pair>
    <Pair>
      <key>highlight</key>
      <Style> <!-- yes, inline style is fine -->
        <LabelStyle>
          <scale>0.8</scale>
        </LabelStyle>
      </Style>
    </Pair>
  </StyleMap>
</Document>
</kml>