Mercurial > hg > ChinaGisRestApi
changeset 185:13d25b60e421
corrected links in desc (RestDbGisApi)
author | fknauft |
---|---|
date | Wed, 16 Feb 2011 11:54:42 +0100 |
parents | 0abd2e98b9f2 |
children | c0ced397fd26 |
files | RestDbGisApi.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/RestDbGisApi.py Tue Feb 15 16:57:21 2011 +0100 +++ b/RestDbGisApi.py Wed Feb 16 11:54:42 2011 +0100 @@ -296,7 +296,7 @@ val = "%s: %s"%(name, value) if val.find('http')>-1: - val ='<a href="' + value + '" taret="_blank">' + val + '</a>' + val ='<a href="' + value + '" target="_blank">' + val + '</a>' #desc += kmlEncode(val) desc += val @@ -306,7 +306,7 @@ if geomField=='point': - kmlPlace['description'] = desc + kmlPlace['description'] = '<![CDATA['+desc+']]>' kmlPlace['icon'] = '#marker_icon_'+colorField kmlPlace['coord_x'] = str(xCoord) kmlPlace['coord_y'] = str(yCoord)