SYMapPlacesClusterSettings contain parameters for the clustering calculation. The clustering joins nearby places to cluster objects containing a count of grouped places when a view is zoomed out. The radius defines an area covered by the cluster object on a specified zoom level. Radii on all other zoom levels are calculated from the provided radius. The clustering calculation uses the equirectangular projection https://en.wikipedia.org/wiki/Equirectangular_projection. One radius unit is 1/100000 of geographic coordinates in degrees, its size is similar to metres. Examples of values for default settings: radius 6400.0 on zoom level 8; radius 600.0 on zoom level 12; radius 32.0 on level 17. To specify which places should use clustering, see SYMapPlaceCategory.clusterId.
More...
#import <SYMapPlacesManager.h>
|
NSInteger | zoomLevel |
| Zoom level for which the cluster radius is specified. More...
|
|
CGFloat | radius |
| Radius of cluster on specified zoom level. More...
|
|
SYMapPlacesClusterSettings contain parameters for the clustering calculation. The clustering joins nearby places to cluster objects containing a count of grouped places when a view is zoomed out. The radius defines an area covered by the cluster object on a specified zoom level. Radii on all other zoom levels are calculated from the provided radius. The clustering calculation uses the equirectangular projection https://en.wikipedia.org/wiki/Equirectangular_projection. One radius unit is 1/100000 of geographic coordinates in degrees, its size is similar to metres. Examples of values for default settings: radius 6400.0 on zoom level 8; radius 600.0 on zoom level 12; radius 32.0 on level 17. To specify which places should use clustering, see SYMapPlaceCategory.clusterId.
◆ initWithZoomLevel:radius:
- (nonnull instancetype) initWithZoomLevel: |
|
(NSInteger) |
zoomLevel |
radius: |
|
(CGFloat) |
radius |
|
|
| |
◆ zoomLevel
Zoom level for which the cluster radius is specified.
◆ radius
Radius of cluster on specified zoom level.
The documentation for this class was generated from the following file: