# HG changeset patch # User fknauft # Date 1315296010 -7200 # Node ID aa6d3137a92f3cd320bc53d6c4cb4844c018ed84 # Parent 35c3d0ce29145bd4d742912e999d107606704705 show line and polygon-layer diff -r 35c3d0ce2914 -r aa6d3137a92f gis_gui/blocks/map.js --- a/gis_gui/blocks/map.js Tue Sep 06 09:52:15 2011 +0200 +++ b/gis_gui/blocks/map.js Tue Sep 06 10:00:10 2011 +0200 @@ -142,7 +142,8 @@ }; guiBlocks.Block.prototype.reloadMap = function(map) { - map.refresh(); + var center = map.getCenter(); + map.setCenter(center); }; guiBlocks.Block.prototype.updateMap = function(elem,map_params) {