Mercurial > hg > ChinaGisRestApi
changeset 239:95721c5afd0b
show line and polygon-layer
author | fknauft |
---|---|
date | Tue, 06 Sep 2011 10:03:24 +0200 |
parents | aa6d3137a92f |
children | 5159df776eaf |
files | gis_gui/blocks/map.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gis_gui/blocks/map.js Tue Sep 06 10:00:10 2011 +0200 +++ b/gis_gui/blocks/map.js Tue Sep 06 10:03:24 2011 +0200 @@ -143,7 +143,7 @@ guiBlocks.Block.prototype.reloadMap = function(map) { var center = map.getCenter(); - map.setCenter(center); + map.panTo(center); }; guiBlocks.Block.prototype.updateMap = function(elem,map_params) {