Classes | Functions

BMGeometry.h File Reference

Bing Maps Geometry functions. More...

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

Go to the source code of this file.

Classes

struct  BMCoordinateSpan
 BMCoordinateSpan defines the area spanned by a BMCoordinateRegion. More...
struct  BMCoordinateRegion
 BMCoordinateRegion defines which portion of the map to display. More...

Functions

UIKIT_STATIC_INLINE
BMCoordinateSpan 
BMCoordinateSpanMake (CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta)
 Creates a new BMCoordinateSpan.
UIKIT_STATIC_INLINE
BMCoordinateRegion 
BMCoordinateRegionMake (CLLocationCoordinate2D centerCoordinate, BMCoordinateSpan span)
 Creates a new BMCoordinateRegion.
UIKIT_EXTERN BMCoordinateRegion BMCoordinateRegionMakeWithDistance (CLLocationCoordinate2D centerCoordinate, CLLocationDistance latitudinalMeters, CLLocationDistance longitudinalMeters)
 Creates a new BMCoordinateRegion.

Detailed Description

Bing Maps Geometry functions.

Bing Maps functions and structs for handling regions and spans


Function Documentation

UIKIT_STATIC_INLINE BMCoordinateRegion BMCoordinateRegionMake ( CLLocationCoordinate2D  centerCoordinate,
BMCoordinateSpan  span 
)

Creates a new BMCoordinateRegion.

Parameters:
centerCoordinateThe center coordinate for the new BMCoordinateRegion
spanThe horizontal and vertical spans for the new BMCoordinateRegion
Returns:
A new BMCoordinateRegion
See also:
BMCoordinateSpanMake
UIKIT_EXTERN BMCoordinateRegion BMCoordinateRegionMakeWithDistance ( CLLocationCoordinate2D  centerCoordinate,
CLLocationDistance  latitudinalMeters,
CLLocationDistance  longitudinalMeters 
)

Creates a new BMCoordinateRegion.

Parameters:
centerCoordinateThe center coordinate for the new BMCoordinateRegion.
latitudinalMetersThe distance, in meters, between the most northern and most southern points of the span.
longitudinalMetersThe distance, in meters, between the most eastern and most western points of the span.
Returns:
A new BMCoordinateRegion
See also:
BMCoordinateSpanMake

References BMCoordinateRegionMakeWithDistance().

Referenced by BMCoordinateRegionMakeWithDistance().

UIKIT_STATIC_INLINE BMCoordinateSpan BMCoordinateSpanMake ( CLLocationDegrees  latitudeDelta,
CLLocationDegrees  longitudeDelta 
)

Creates a new BMCoordinateSpan.

Parameters:
latitudeDeltaThe delta between the north-most and south-most points of the span
longitudeDeltaThe delta between the east-most and west-most points of the span
Returns:
A new BMCoordinateSpan
See also:
BMCoordinateRegionMake