changeset 213:769866d9d96d

New big Dot-Icons
author fknauft
date Tue, 22 Mar 2011 13:34:08 +0100
parents 331ec75a73d4
children 052b426e9d9f
files zpt/KML_schema_table.zpt
diffstat 1 files changed, 47 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/KML_schema_table.zpt	Tue Mar 22 13:33:43 2011 +0100
+++ b/zpt/KML_schema_table.zpt	Tue Mar 22 13:34:08 2011 +0100
@@ -52,6 +52,51 @@
         <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
       </IconStyle>
     </Style>
+    <Style id="marker_icon_red_big">
+      <IconStyle>
+        <size>"10"</size>
+        <Icon>
+          <href>http://mappit.mpiwg-berlin.mpg.de/mappit/icons/dot_red_big.png</href>
+        </Icon>
+        <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+      </IconStyle>
+    </Style>
+   <Style id="marker_icon_black_big">
+      <IconStyle>
+        <size>"0.2"</size>
+        <Icon>
+          <href>http://mappit.mpiwg-berlin.mpg.de/mappit/icons/dot_black_big.png</href>
+        </Icon>
+        <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+      </IconStyle>
+    </Style>
+   <Style id="marker_icon_blue_big">
+      <IconStyle>
+        <scale>"0.2"</scale>
+        <Icon>
+          <href>http://mappit.mpiwg-berlin.mpg.de/mappit/icons/dot_blue_big.png</href>
+        </Icon>
+        <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+      </IconStyle>
+    </Style>
+   <Style id="marker_icon_green_big">
+      <IconStyle>
+        <scale>"0.2"</scale>
+        <Icon>
+          <href>http://mappit.mpiwg-berlin.mpg.de/mappit/icons/dot_green_big.png</href>
+        </Icon>
+        <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+      </IconStyle>
+    </Style>
+   <Style id="marker_icon_violett_big">
+      <IconStyle>
+        <scale>"0.2"</scale>
+        <Icon>
+          <href>http://mappit.mpiwg-berlin.mpg.de/mappit/icons/dot_violett_big.png</href>
+        </Icon>
+        <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+      </IconStyle>
+    </Style>
     <Style id="red_line">
       <LineStyle>
         <color>ff0000ff</color>
@@ -61,7 +106,7 @@
         <color>ff0000ff</color>
       </PolyStyle>
     </Style>
-    <Placemark tal:repeat="place data" tal:condition="python:data[0].has_key('icon')">
+    <Placemark tal:repeat="place data" tal:condition="python:here.trydatahas_key(data,0,'icon')">
       <description tal:content="place/description" >
       ERD-0815: ERD-0815
       </description>
@@ -70,7 +115,7 @@
         <coordinates tal:content="string:${place/coord_x},${place/coord_y},${place/coord_z}">116.38,39.92,0</coordinates>
       </Point>
     </Placemark>
-    <Placemark tal:repeat="place data" tal:condition="python:data[0].has_key('LinearRing')">
+    <Placemark tal:repeat="place data" tal:condition="python:here.trydatahas_key(data,0,'LinearRing')">
       <description tal:content="place/description" >
       ERD-0815: ERD-0815
       </description>