Mercurial > hg > ChinaGisRestApi
diff RestDbGisApi.py @ 65:2f477270cc0c
adding layers to maps works now
author | casties |
---|---|
date | Tue, 09 Nov 2010 20:49:36 +0100 |
parents | 3905385c8854 |
children | 9ec7e32e8ad3 9c66c0ab395c |
line wrap: on
line diff
--- a/RestDbGisApi.py Tue Nov 09 16:29:56 2010 +0100 +++ b/RestDbGisApi.py Tue Nov 09 20:49:36 2010 +0100 @@ -217,6 +217,8 @@ # convert data kmlData = [] for dataset in data['rows']: + xCoord = 0.0 + yCoord = 0.0 if gisIdIdx is not None: gisID = dataset[gisIdIdx] coords=self.getPointForChGisId(gisID)