Skip to content

Commit

Permalink
take out max_size directive
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tokumine committed Nov 30, 2011
1 parent 8b10cb8 commit 7b624c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions lib/grainstore/mml_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ var _ = require('underscore'),
// user: "postgres",
// geometry_field: "the_geom_webmercator",
// extent: "-20005048.4188,-9039211.13765,19907487.2779,17096598.5401",
// srid: 3857,
// max_size: 10
// srid: 3857
// },
// styles: {
// point: "default point style",
Expand Down Expand Up @@ -59,8 +58,7 @@ var MMLBuilder = function(redis_pool, opts){
user: "postgres",
geometry_field: "the_geom_webmercator",
extent: "-20005048.4188,-9039211.13765,19907487.2779,17096598.5401",
srid: 3857,
max_size: 10
srid: 3857
},
styles: {
point: '#' + opts.table + " {marker-fill: #FF6600;marker-opacity: 1;marker-width: 8;marker-line-color: white;marker-line-width: 3;marker-line-opacity: 0.9;marker-placement: point;marker-type: ellipse;marker-allow-overlap: true;}",
Expand Down Expand Up @@ -199,8 +197,7 @@ var MMLBuilder = function(redis_pool, opts){
};

me.delStyle = function(callback){
var that = this
, redis_client;
var redis_client;

Step(
function getRedisClient(){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grainstore",
"version": "0.0.11",
"version": "0.0.12",
"main": "./lib/grainstore/index.js",
"description": "Stores map styles and generates postgis friendly MML & XML for Mapnik",
"url": "https://github.com/tokumine/grainstore",
Expand Down

0 comments on commit 7b624c8

Please sign in to comment.