
Hi Steve, GerdP wrote
So I think I found an error and I will try to fix it. Gerd
what do you think about this simple change? It allows to replace all calls to LayerFilterChain.addElement() by LayerFilterChain.doFilter() which simplifies the code and corrects the problem regarding omitted filters. Gerd Index: LayerFilterChain.java =================================================================== --- LayerFilterChain.java (revision 2474) +++ LayerFilterChain.java (working copy) @@ -55,17 +55,10 @@ MapFilter f = filters.get(position++); f.doFilter(element, this); + // maintain chain position for repeated calls in the split filters + position--; } -- View this message in context: http://gis.19327.n5.nabble.com/Question-reg-LayerFilterChain-addElement-tp57... Sent from the Mkgmap Development mailing list archive at Nabble.com.