WRLDBuildingHighlightOptions Class Reference

Options used to construct a WRLDBuildingHighlight object.

+ highlightOptionsWithLocation:

+ (instancetype)highlightOptionsWithLocation:(CLLocationCoordinate2D)location

Instantiate highlight options to attempt to highlight any building present at the given CLLocationCoordinate2D location.

Returns:

A WRLDBuildingHighlightOptions instance.

Argument Description
location

The location.

+ highlightOptionsWithScreenPoint:

+ (instancetype)highlightOptionsWithScreenPoint:(CGPoint)screenPoint

Instantiate highlight options to attempt to highlight any building present at the given screen point for the current map view.

Returns:

A WRLDBuildingHighlightOptions instance.

Argument Description
screenPoint

The screen-space point.

– setColor:

- (void)setColor:(UIColor *)color

Sets the color of the building highlight as a UIColor. The default value is black.

Argument Description
color

The color to use.

– informationOnly

- (void)informationOnly

Sets options such that, if a WRLDBuildingHighlight object is created with these options and added to a map, it will not result in any visual highlight overlay being displayed. In this case, the WRLDBuildingHighlight object is used only for the purpose of retrieving WRLDBuildingInformation.

v0.0.1600