public void changed(FeatureEvent featureEvent) { fireMapLayerListenerLayerChanged(MapLayerEvent.DATA_CHANGED); } };
/** * Sets a definition query for the layer which acts as a filter for the features that the layer * will draw. * * <p>A consumer must ensure that this query is used in combination with the bounding box filter * generated on each map interaction to limit the number of features returned to those that * complains both the definition query and relies inside the area of interest. * * <p>IMPORTANT: only include attribute names in the query if you want them to be ALWAYS * returned. It is desirable to not include attributes at all but let the layer user (a * renderer?) to decide wich attributes are actually needed to perform its requiered operation. * * @param query */ public void setQuery(Query query) { this.query = query; fireMapLayerListenerLayerChanged(MapLayerEvent.FILTER_CHANGED); }
public void changed(FeatureEvent featureEvent) { fireMapLayerListenerLayerChanged(MapLayerEvent.DATA_CHANGED); } };
/** * Sets a definition query for the layer which acts as a filter for the features that the layer * will draw. * * <p> * A consumer must ensure that this query is used in combination with the bounding box filter * generated on each map interaction to limit the number of features returned to those that * complains both the definition query and relies inside the area of interest. * </p> * <p> * IMPORTANT: only include attribute names in the query if you want them to be ALWAYS returned. * It is desirable to not include attributes at all but let the layer user (a renderer?) to * decide wich attributes are actually needed to perform its requiered operation. * </p> * * @param query */ public void setQuery(Query query) { this.query = query; fireMapLayerListenerLayerChanged(MapLayerEvent.FILTER_CHANGED); }