Package com.luciad.maps
Class Map.FeatureQuery.Builder
java.lang.Object
com.luciad.maps.Map.FeatureQuery.Builder
- All Implemented Interfaces:
- AutoCloseable
- Enclosing class:
- Map.FeatureQuery
Builder for a 
Map.FeatureQuery.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates themap feature queryfor the configured settings.voidclose()features(List<@NotNull LayerFeatureId> features) Sets the features to select for this query.protected voidfinalize()includeControllerLayers(boolean enable) Indicates if you want to query features on the controller layers in addition to the map layers.The rectangle parameter is mandatory.
- 
Constructor Details- 
Builder
 
- 
- 
Method Details- 
finalizeprotected void finalize()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
buildCreates themap feature queryfor the configured settings.- Returns:
- the feature query.
- Throws:
- IllegalStateException- when not all mandatory parameters are set.
 
- 
rectangleThe rectangle parameter is mandatory.- Parameters:
- rectangle- the rectangle the features must interact with. Defined in device independent pixels.
- Returns:
- this
 
- 
includeControllerLayersIndicates if you want to query features on the controller layers in addition to the map layers.Calling this method is optional, this value is false by default. - Parameters:
- enable- if you want to query features on the controller layers in addition to the map layers.
- Returns:
- this
 
- 
featuresSets the features to select for this query.These features act as a filter on the result: the Map:queryFeatures method will only provide results for the given features.Calling this method is optional. If it is not called, no filtering will be applied on the result. - Parameters:
- features- the features to include in the result
- Returns:
- this
 
 
-