diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 89187b55..81d2c7b0 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -5,7 +5,12 @@ var _ = require('underscore') module.exports = function(){ var me = { base_url: '/tiles/:table', - grainstore: {datasource: global.environment.postgres}, + grainstore: {datasource: global.environment.postgres, + 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;}", + polygon: '#' + opts.table + " {polygon-fill: #FF6600;polygon-opacity: 0.7;}" , + multipolygon: '#' + opts.table + " {polygon-fill: #FF6600;polygon-opacity: 0.7;}" + }}, redis: global.environment.redis };