File: inline-stylemap.kml

package info (click to toggle)
libkml 1.3.0-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,660 kB
  • sloc: cpp: 48,088; python: 2,008; xml: 1,806; ansic: 1,766; php: 223; java: 195; ruby: 109; perl: 108; sh: 42; makefile: 17
file content (39 lines) | stat: -rw-r--r-- 1,151 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
http://kml-samples.googlecode.com/svn/trunk/kml/Style/inline-stylemap.kml
-->
<kml xmlns="http://earth.google.com/kml/2.2">
  <Placemark id="placemark">
    <name>inline StyleMap</name>
    <description>Example of inline StyleMap with inlined Styles</description>
    <StyleMap>
      <Pair>
        <key>normal</key>
        <Style>
          <IconStyle>
            <scale>1.1</scale>
            <Icon>
              <href>http://maps.google.com/mapfiles/kml/paddle/A.png</href>
            </Icon>
            <hotSpot x="32" y="1" xunits="pixels" yunits="pixels"/>
          </IconStyle>
        </Style>
      </Pair>
      <Pair>
        <key>highlight</key>
        <Style>
          <IconStyle>
            <scale>1.3</scale>
            <Icon>
              <href>http://maps.google.com/mapfiles/kml/paddle/B.png</href>
            </Icon>
            <hotSpot x="32" y="1" xunits="pixels" yunits="pixels"/>
          </IconStyle>
        </Style>
      </Pair>
    </StyleMap>
    <Point>
      <coordinates>-95.45175317119345,37.68193012013741,0</coordinates>
    </Point>
  </Placemark>
</kml>