MSFFeatureCollectionSearchService
Objective-C
@interface MSFFeatureCollectionSearchService : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFFeatureCollectionSearchService : NSObject
A search service for finding features from a specified feature collection.
-
Constructs a FeatureCollectionSearchService for given feature collection.
Declaration
Objective-C
- (id)initWithProjection:(MSFProjection *)projection featureCollection:(MSFFeatureCollection *)featureCollection;Swift
init!(projection: MSFProjection!, featureCollection: MSFFeatureCollection!)Parameters
projectionThe projection to use for the feature collection.
featureCollectionThe feature collection to search from.
-
Returns the projection of the feature collection of the search service.
Declaration
Objective-C
- (MSFProjection *)getProjection;Swift
func getProjection() -> MSFProjection!Return Value
The projection of the feature collection of the search service.
-
Returns the feature collection of the search service.
Declaration
Objective-C
- (MSFFeatureCollection *)getFeatureCollection;Swift
func getFeatureCollection() -> MSFFeatureCollection!Return Value
The feature collection of the search service.
-
Returns the maximum number of results the search service returns.
Declaration
Objective-C
- (int)getMaxResults;Swift
func getMaxResults() -> Int32Return Value
The maximum number of results the search service returns.
-
Sets the maximum number of results the search service returns. The default number of results is 1000.
Declaration
Objective-C
- (void)setMaxResults:(int)maxResults;Swift
func setMaxResults(_ maxResults: Int32)Parameters
maxResultsThe new maximum number of results the geocoding service returns.
-
Searches for the features specified by search request from the feature collection bound to the service.
Declaration
Objective-C
- (MSFFeatureCollection *)findFeatures:(MSFSearchRequest *)request;Swift
func findFeatures(_ request: MSFSearchRequest!) -> MSFFeatureCollection!Parameters
requestThe search request containing search filters.
Return Value
The resulting feature collection containing features matching the request.
-
Searches for the features specified by search request from the feature collection bound to the service.
Declaration
Objective-C
- (MSFFeatureCollection *) findFeaturesSwigExplicitMSFFeatureCollectionSearchService: (MSFSearchRequest *)request;Swift
func findFeaturesSwigExplicitMSFFeatureCollectionSearchService(_ request: MSFSearchRequest!) -> MSFFeatureCollection!Parameters
requestThe search request containing search filters.
Return Value
The resulting feature collection containing features matching the request.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()