changeset 131:a949b69bc2a9

polygon-Layers
author fknauft
date Wed, 02 Feb 2011 15:13:54 +0100
parents a3b1d4b41e3f
children 66f4491519ae
files RestDbGisApi.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbGisApi.py	Wed Feb 02 15:11:01 2011 +0100
+++ b/RestDbGisApi.py	Wed Feb 02 15:13:54 2011 +0100
@@ -287,11 +287,11 @@
             #kmlPlace['description'] = "<![CDATA[%s]]>"%desc
             kmlPlace['description'] = desc
                   
-            if geomField=='point':
-               kmlPlace['icon'] = '#marker_icon_'+colorField
-               kmlPlace['coord_x'] = str(xCoord)
-               kmlPlace['coord_y'] = str(yCoord)
-               kmlPlace['coord_z'] = '0'
+#            if geomField=='point':
+            kmlPlace['icon'] = '#marker_icon_'+colorField
+            kmlPlace['coord_x'] = str(xCoord)
+            kmlPlace['coord_y'] = str(yCoord)
+            kmlPlace['coord_z'] = '0'
             if geomField=='poly':
                 kmlPlace['LinearRing']=geomdata.split('(')[4]
                 kmlPlace['LineColor']=colorField