Mercurial > hg > ChinaGisRestApi
changeset 147:628f0f42a390
polygon-Layers
author | fknauft |
---|---|
date | Thu, 03 Feb 2011 13:45:18 +0100 |
parents | 24828625c0ce |
children | 2269db3ad5ba |
files | zpt/KML_schema_table.zpt |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/KML_schema_table.zpt Thu Feb 03 13:42:05 2011 +0100 +++ b/zpt/KML_schema_table.zpt Thu Feb 03 13:45:18 2011 +0100 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:tal="http://xml.zope.org/namespaces/tal" - tal:define="gisIdField python:request.get('gis_id_field',None); colorField python:request.get('color_field',None); - latField python:request.get('lat_field',None); lonField python:request.get('lon_field',None); geomField python:request.get('geometry_field',None); + tal:define="gisIdField python:request.get('gis_id_field',None); colorField python:request.get('color_field','red'); + latField python:request.get('lat_field',None); lonField python:request.get('lon_field',None); geomField python:request.get('geometry_field','poly'); sortBy python:request.get('sort_field',1); schema options/schema; table options/table; - data python:here.getKmlData(schema=schema,table=table,sortBy=sortBy,gisIdField=gisIdField,latField=latField,lonField=lonField); + data python:here.getKmlData(schema=schema,table=table,sortBy=sortBy,gisIdField=gisIdField,latField=latField,lonField=lonField,geomField=geomField,colorField=colorField ); withLine python:request.get('connect_line',None);"> <Document> <Style id="marker_icon_red">