Log Message: |
* Changed the logic to generate the Style which contains a FeatureTypeStyle for the selection. It now uses the MapLayer.getStyle() as a base (instead of styledObj.getStyle() ) and simply removes any old FeatureTypeStyle that contains Rules for an older selection.
Why?
1. Because the MapLayer's Style might have been changed by the AS and we don't want the Style to reset.
2. Because in the Atlas the DPLayer's getStyle() always returns the default style, ignoring any additionaly styles.
|