Provides map places operations. The purpose is to show huge amount of SYMapPlace objects on the map.
More...
#import <SYMapPlacesManager.h>
Provides map places operations. The purpose is to show huge amount of SYMapPlace objects on the map.
◆ sharedManager
◆ __attribute__ [1/2]
◆ __attribute__ [2/2]
◆ fillPlaces:categories:completion:
- (void) fillPlaces: |
|
(nonnull NSArray< SYMapPlace * > *) |
places |
categories: |
|
(nonnull NSArray< SYMapPlaceCategory * > *) |
categories |
completion: |
|
(fillPlaces(_:categories:completion:)) |
NS_SWIFT_NAME |
|
|
| |
Fill places and categories data to SDK, in order to show them on the map. All previous map places and their categories will be replaced with the provided data set. Each provided place must belong to one of the provided categories. The data will be shown on all SYMapView instances. See also: SYMapPlace.
◆ removeAllPlacesWithCompletion:
- (void) removeAllPlacesWithCompletion: |
|
(nonnull SYMapPlacesFillCompletionBlock) |
completion |
|
◆ getPlacesCount
- (NSInteger) getPlacesCount |
|
|
|
Get the count of places stored in SDK.
◆ queryVisiblePlacesOfCategories:withEmptyDescription:completion:
- (void) queryVisiblePlacesOfCategories: |
|
(nonnull NSArray< NSString * > *) |
categories |
withEmptyDescription: |
|
(BOOL) |
emptyDescription |
completion: |
|
(nonnull SYMapPlacesQueryIdsCompletionBlock) |
completion |
|
|
| |
Query identifiers of visible places. A place is considered visible when: 1) it's located inside of the visible area on at least one map view 2) current zoom level of the map is bigger (closer) than corresponding SYMapPlaceCategory.zoomLimit 3) not currently grouped into a cluster If a place fits criteria but actually hidden due to overlapping with another place, it's considered as visible.
- Parameters
-
categories | An array of category identifiers of the wanted places. |
emptyDescription | If true, will return only places which have empty description string. If false, will return places with any description. |
completion | A completion block is called asynchronously. |
◆ updatePlace:
- (void) updatePlace: |
|
(updatePlace(_:)) |
NS_SWIFT_NAME |
|
Update the place description.
The documentation for this class was generated from the following file: