node-mapnik icon indicating copy to clipboard operation
node-mapnik copied to clipboard

Missing getters and setters in Layer class

Open cklein05 opened this issue 8 years ago • 2 comments

There are some getters and setters missing in Node Mapnik's Layer class. Notably, that are the accessors for cache_features, group_by, buffer_size, comp_op, maximum_extent and opacity. Additionally, the Layer class lacks methods reset_maximum_extent and reset_buffer_size.

All of these are present in the native/original C++ Layer class and it should not be too hard to make them available in Node Mapnik as well. For my mind, (at least) getters and setters for cache_features, group_by, buffer_size, comp_op and opacity are the most important ones. Are there any plans for those?

cklein05 avatar Jul 17 '17 11:07 cklein05

@cklein05 - I suspect other objects also have properties that are not reflected in node bindings so lets add as many as reasonable. I'm going to create a separate issue to track progress.

artemp avatar Jul 18 '17 13:07 artemp

/cc @springmeyer @flippmoke

artemp avatar Jul 18 '17 13:07 artemp