add multipoly styles
This commit is contained in:
parent
3d3ea9902e
commit
c509cc0b6b
@ -5,7 +5,12 @@ var _ = require('underscore')
|
|||||||
module.exports = function(){
|
module.exports = function(){
|
||||||
var me = {
|
var me = {
|
||||||
base_url: '/tiles/:table',
|
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
|
redis: global.environment.redis
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user