CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeBase.h>
Instance Methods | |
(id) | - init |
(id) | - initWithPOIType:text:location: |
Properties | |
int | maxObjectCount |
CartoTypeGeometry * | clip |
CartoTypeGeometry * | location |
NSString * | layers |
NSString * | attributes |
NSString * | text |
CartoTypeStringMatchMethod | stringMatchMethod |
NSString * | condition |
bool | merge |
double | timeOut |
Parameters for the general find function.
- (id) init |
The default initializer.
- (id) initWithPOIType: | (CartoTypePointOfInterestType) | aPOIType | |
text: | (NSString *) | aText | |
location: | (CartoTypeGeometry *) | aLocation | |
Creates find parameters for finding nearby.
|
readwritenonatomicstrong |
If 'attributes' is null or empty, search all the attributes, otherwise it is a list of attributes separated by spaces or commas; use '$' to indicate the label (the unnamed attribute).
|
readwritenonatomicassign |
The clip path; no clipping is done if clip is empty.
|
readwritenonatomicstrong |
If non-null, a condition expression (e.g., "Type==2") which must be fulfilled by all the objects.
|
readwritenonatomicstrong |
If non-null, a list separated by spaces or commas. If it is null all layers are searched.
|
readwritenonatomicassign |
The current location. If it is non-empty, objects in or near this region are preferred. It may be a single point.
|
readwritenonatomicassign |
The maximum number of objects to return.
|
readwritenonatomicassign |
If merge is true (the default), adjoining objects with the same name and attributes may be merged into a single object.
|
readwritenonatomicassign |
The string matching method used for text searching.
|
readwritenonatomicstrong |
If non-null, restricts the search to objects containing a string in one of their string attributes.
|
readwritenonatomicassign |
The maximum time in seconds allowed for a find operation. Find operations are not guaranteed to return in this time or less, but will attempt to do so.