# HG changeset patch
# User fknauft
# Date 1297871701 -3600
# Node ID 6c30ac875d9215a28fe637a4876fc984e092209c
# Parent 1b3c75891824eb7df192769f7aaef597d4ce42f3
Open new Layer with default red points
diff -r 1b3c75891824 -r 6c30ac875d92 gis_gui/blocks/layer.js
--- a/gis_gui/blocks/layer.js Wed Feb 16 16:47:59 2011 +0100
+++ b/gis_gui/blocks/layer.js Wed Feb 16 16:55:01 2011 +0100
@@ -38,8 +38,8 @@
});
$(be).find(".layer_geom_select").attr("element","");
- if (!params.geometrie_field) {
- params.geometrie_field = "point";
+ if (!params.geometry_field) {
+ params.geometry_field = "point";
}
$(be).find(".layer_color_select").attr("element","");
if (!params.color_field) {
@@ -61,7 +61,6 @@
//params = block.readLayerParams();
// load map
- params = block.readLayerParams(); //FJK
block.updateLayer(be,params);
// update button