/** * Sets the style for this layer. * * @param style The new style */ public void setStyle(Style style) { if (style == null) { throw new NullPointerException("Style is required"); } this.style = style; fireMapLayerListenerLayerChanged(MapLayerEvent.STYLE_CHANGED); } }
/** * Sets the style for this layer. * * @param style * The new style */ public void setStyle(Style style) { if (style == null) { throw new NullPointerException("Style is required"); } this.style = style; fireMapLayerListenerLayerChanged(MapLayerEvent.STYLE_CHANGED); }