PWPointOfInterest Class Reference

Inherits from NSObject
Conforms to PWMapPoint
Declared in PWPointOfInterest.h

Overview

This class represents a point-of-interest defined on the MaaS portal and contains data associated with that point-of-interest.

  summary

A description of the point-of-interest. May be NULL.

@property (nonatomic, readonly, nullable) NSString *summary

Declared In

PWPointOfInterest.h

  floor

The PWFloor object that the point-of-interest belongs to.

@property (nonatomic, readonly, weak, nullable) PWFloor *floor

Declared In

PWPointOfInterest.h

  pointOfInterestType

The PWPointOfInterestType object that the point-of-interest is a member of.

@property (nonatomic, readonly, nullable) PWPointOfInterestType *pointOfInterestType

Declared In

PWPointOfInterest.h

  image

The representative UIImage of the point-of-interest. Will be NULL if image has not yet been loaded.

@property (nonatomic, readonly, nullable) UIImage *image

Declared In

PWPointOfInterest.h

  imageURL

The URL of the point-of-interest image. May be NULL if using custom POI image loading.

@property (nonatomic, readonly, nullable) NSURL *imageURL

Declared In

PWPointOfInterest.h

  metaData

Metadata associated with the point-of-interest. May be NULL.

@property (nonatomic, readonly, nullable) NSDictionary *metaData

Declared In

PWPointOfInterest.h

  minZoomLevel

The minimum zoom level that the point-of-interest is visible on, and the below are the possible values: -1 - always visible. 1 - subtract 4 from the maximum zoom level that current iOS map supports, it’s 18. 2 - subtract 3 from the maximum zoom level that current iOS map supports, it’s 19. 3 - subtract 2 from the maximum zoom level that current iOS map supports, it’s 20. 4 - subtract 1 from the maximum zoom level that current iOS map supports, it’s 21. 5 - the maximum zoom level that current iOS map supports, it’s 22.

@property (nonatomic, readonly) NSInteger minZoomLevel

Discussion

The point-of-interest is only visble when the map zoom level is between minZoomLevel and maxZoomLevel.

Declared In

PWPointOfInterest.h

  maxZoomLevel

The maximum zoom level that the point-of-interest is visible on, and the below are the possible values: -1 - always visible. 1 - subtract 4 from the maximum zoom level that current iOS map supports, it’s 18. 2 - subtract 3 from the maximum zoom level that current iOS map supports, it’s 19. 3 - subtract 2 from the maximum zoom level that current iOS map supports, it’s 20. 4 - subtract 1 from the maximum zoom level that current iOS map supports, it’s 21. 5 - the maximum zoom level that current iOS map supports, it’s 22.

@property (nonatomic, readonly) NSInteger maxZoomLevel

Discussion

The point-of-interest is only visble when the map zoom level is between minZoomLevel and maxZoomLevel.

Declared In

PWPointOfInterest.h

  title

The title of the point-of-interest. May be NULL.

@property (nonatomic, copy, readwrite, nullable) NSString *title

Declared In

PWPointOfInterest.h

  subtitle

The subtitle of the point-of-interest. May be NULL.

@property (nonatomic, copy, readwrite, nullable) NSString *subtitle

Declared In

PWPointOfInterest.h

  portalID

The portal identifier of the point-of-interest. May be NULL.

@property (readonly, nullable) NSString *portalID

Declared In

PWPointOfInterest.h