Note that there are some explanatory texts on larger screens.

plurals
  1. POpalettes of icons in Google Earth (Mac)
    primarykey
    data
    text
    <p>(Cross posted from the GE support groups - now defunct?)</p> <p>Having trouble using the gs:x extensions to use palettes of icons in an icon group. </p> <p>I have loaded the appropriate xmlns:gx="http://www.google.com/kml/ext/2.2" into the kml header but get the message "Unknown type gs:x on my Macintosh under GE Google Earth 6.0.3.2197 </p> <p>I suspect this has not been implemented on the Mac version - anybody with experience on this? </p> <p>Final code was as follows and it fails on the first gx:s line. It also fails in the same way if I use the now deprecated x (rather than gx:x)</p> <p>Also, as shown it follows the kml documentation but I think all terminating terms should be of the form /gx:x rather than gx:x/ as shown in the KML reference. Making that change does not help as it never gets to that point anyway.</p> <p>The header was copied from a GE placemark copied and pasted into the editor. </p> <p>Any help appreciated. </p> <p>Bob J. </p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"&gt; &lt;Document&gt; &lt;StyleMap id="s_Ic_SP"&gt; &lt;Pair&gt;&lt;key&gt;normal&lt;/key&gt;&lt;styleUrl&gt;#sn_Ic_SP&lt;/styleUrl&gt;&lt;/Pair&gt; &lt;Pair&gt;&lt;key&gt;highlight&lt;/key&gt;&lt;styleUrl&gt;#sh_Ic_SP&lt;/styleUrl&gt;&lt;/Pair&gt; &lt;/StyleMap&gt; &lt;Style id="sn_Ic_SP"&gt; &lt;IconStyle&gt; &lt;scale&gt;1.8&lt;/scale&gt; &lt;Icon&gt; &lt;href&gt;Icons/Traps.png&lt;/href&gt; &lt;gx:x&gt;0&lt;gx:x/&gt;&lt;gx:y&gt;128&lt;gx:y/&gt; &lt;gx:w&gt;64&lt;gx:w/&gt;&lt;gx:h&gt;64&lt;gx:h/&gt; &lt;/Icon&gt; &lt;hotSpot x="32" y="1" xunits="pixels" yunits="pixels"/&gt; &lt;/IconStyle&gt; &lt;BalloonStyle&gt; &lt;displayMode&gt;default&lt;/displayMode&gt;&lt;bgColor&gt;ff00d0ff&lt;/bgColor&gt; &lt;text&gt;&lt;![CDATA[&lt;font face="Comic Sans MS" /&gt;&lt;table bgcolor="#ff8000" cellspacing="3" width="160"&gt; &lt;tr bgcolor="#ffff80"&gt;&lt;td&gt;&lt;b&gt;Sponsor $[name]&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;$ [description]&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;]]&gt;&lt;/text&gt; &lt;/BalloonStyle&gt; &lt;LabelStyle&gt; &lt;scale&gt;0.9&lt;/scale&gt;&lt;color&gt;ff00ffff&lt;/color&gt; &lt;/LabelStyle&gt; &lt;LineStyle&gt;&lt;color&gt;ff00ffff&lt;/color&gt;&lt;width&gt;2.0&lt;/width&gt;&lt;/LineStyle&gt; &lt;ListStyle&gt; &lt;ItemIcon&gt; &lt;href&gt;Icons/Traps.png&lt;/href&gt; &lt;gx:x&gt;0&lt;gx:x/&gt;&lt;gx:y&gt;128&lt;gx:y/&gt; &lt;gx:w&gt;64&lt;gx:w/&gt;&lt;gx:h&gt;64&lt;gx:h/&gt; &lt;/ItemIcon&gt; &lt;/ListStyle&gt; &lt;/Style&gt; etc. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload