comparison gis_gui/blocks/map.js @ 238:aa6d3137a92f

show line and polygon-layer
author fknauft
date Tue, 06 Sep 2011 10:00:10 +0200
parents 35c3d0ce2914
children 95721c5afd0b
comparison
equal deleted inserted replaced
237:35c3d0ce2914 238:aa6d3137a92f
140 //params.connect_line = $(elem).find(".layer_line_checkbox").attr("checked"); 140 //params.connect_line = $(elem).find(".layer_line_checkbox").attr("checked");
141 return params; 141 return params;
142 }; 142 };
143 143
144 guiBlocks.Block.prototype.reloadMap = function(map) { 144 guiBlocks.Block.prototype.reloadMap = function(map) {
145 map.refresh(); 145 var center = map.getCenter();
146 map.setCenter(center);
146 }; 147 };
147 148
148 guiBlocks.Block.prototype.updateMap = function(elem,map_params) { 149 guiBlocks.Block.prototype.updateMap = function(elem,map_params) {
149 150
150 //************ 151 //************