another function we don't need anymore
This commit is contained in:
parent
ca76e45e0c
commit
dfe487459b
@ -219,28 +219,6 @@ mess.Renderer = function Renderer(env) {
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
* Split definitions into sub-lists of definitions
|
||||
* containing rules pertaining to only one
|
||||
* symbolizer each
|
||||
*/
|
||||
// splitBySymbolizer: function(definitions) {
|
||||
// var splitTime = +new Date;
|
||||
// var bySymbolizer = {};
|
||||
// for (var i = 0; i < definitions.length; i++) {
|
||||
// definitions[i].symbolizers().forEach(function(sym) {
|
||||
// var index = sym + (definitions[i].attachment ? '/' + definitions[i].attachment : '');
|
||||
// if(!bySymbolizer[index]) {
|
||||
// bySymbolizer[index] = [];
|
||||
// }
|
||||
// bySymbolizer[index].push(
|
||||
// definitions[i].filterSymbolizer(sym));
|
||||
// });
|
||||
// }
|
||||
// if (env.debug) console.warn('Splitting symbolizers: ' + ((new Date - splitTime)) + 'ms');
|
||||
// return bySymbolizer;
|
||||
// },
|
||||
|
||||
findSymbolizers: function(definitions) {
|
||||
var symbolizers = {};
|
||||
for (var i = 0; i < definitions.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user