SKMapCustomPOI Class Reference

Inherits from NSObject
Declared in SKMapCustomPOI.h

Overview

The SKMapCustomPOI is used for presenting custom POIs visually on the map view. The icons that will be used are defined in the map style JSON file, based on different POI categories and types. The SKMapCustomPOI icons will be dynamically clustered when needed.

  identifier

The unique identifier of the custom POI.

@property (nonatomic, assign) NSInteger identifier

Discussion

The unique identifier of the custom POI.

Declared In

SKMapCustomPOI.h

  coordinate

The coordinate where the custom POI should be added.

@property (nonatomic, assign) CLLocationCoordinate2D coordinate

Discussion

The coordinate where the custom POI should be added.

Declared In

SKMapCustomPOI.h

  type

The type of the custom POI. The icons for each POI type are defined in the map style JSON file.

@property (nonatomic, assign) SKPOIType type

Discussion

The type of the custom POI. The icons for each POI type are defined in the map style JSON file.

Declared In

SKMapCustomPOI.h

  categoryID

It describes what category the POI belongs to (e.g. bar, pub, hotel, etc.).

@property (nonatomic, assign) SKPOICategory categoryID

Discussion

It describes what category the POI belongs to (e.g. bar, pub, hotel, etc.).

Declared In

SKMapCustomPOI.h

  minZoomLevel

The minimum zoom level on which the POI should be visible.

@property (nonatomic, assign) NSInteger minZoomLevel

Discussion

The minimum zoom level on which the POI should be visible.

Declared In

SKMapCustomPOI.h

+ mapCustomPOI

Creates a newly initialized SKMapCustomPOI object.

+ (instancetype)mapCustomPOI

Discussion

Creates a newly initialized SKMapCustomPOI object.

Declared In

SKMapCustomPOI.h