# HG changeset patch # User fknauft # Date 1297870754 -3600 # Node ID ec2f2d5e3e210ef3db33440b9501f67979747be3 # Parent f1b76cc939f4fc45668f11e52e68783a17530a4f Open new Layer with default red points diff -r f1b76cc939f4 -r ec2f2d5e3e21 gis_gui/blocks/layer.js --- a/gis_gui/blocks/layer.js Wed Feb 16 16:23:51 2011 +0100 +++ b/gis_gui/blocks/layer.js Wed Feb 16 16:39:14 2011 +0100 @@ -2,7 +2,7 @@ guiBlocks.prototype.addLayerBlock = function(url, baseId, params) { if (typeof(params) == "string") { // then its the table name - params = {"type": "layer", "table": params}; + params = {"type": "layer", "table": params, "color_field":"red","geometry_field":"point"}; } var block = this.addBlock(url, baseId, params, function() { // function after add block finished