Skip to content

Latest commit

 

History

History
100 lines (66 loc) · 1.97 KB

geocircle-class.md

File metadata and controls

100 lines (66 loc) · 1.97 KB
title description ms.author
Geocircle Class | Microsoft Docs
Describes the Geocircle class for Android iOS and provides the class' constructors, properties, and additional references.
pablocan

Geocircle Class

[!INCLUDE bing-maps-sdk-for-android-iOS-retirement]

Describes a geographic circle with a center point and radius.

Android

public class Geocircle extends Geoshape

iOS

@interface MSGeocircle : MSGeoshape

Constructors

See also: MSGeoposition

Android

Geocircle(Geoposition center, double radius)
Geocircle(Geoposition center, double radius, AltitudeReferenceSystem altitudeReferenceSystem)

iOS

+ (instancetype)geocircleWithCenter:(MSGeoposition *)center
                             radius:(CLLocationDistance)radius
+ (instancetype)geocircleWithCenter:(MSGeoposition *)center
                             radius:(CLLocationDistance)radius
                  altitudeReference:(MSMapAltitudeReferenceSystem)altitudeReferenceSystem

Properties

Center

The center point of a geographical circle.

Android

Geoposition getCenter()

iOS

@property (nonatomic, readonly) MSGeoposition *center

Radius

Radius of a geographical circle in meters.

Android

double getRadius()

iOS

@property (nonatomic, readonly) CLLocationDistance radius

AltitudeReferenceSystem

Gets the altitude reference system used by the GeoboundingBox.

Android

AltitudeReferenceSystem getAltitudeReferenceSystem()

iOS

@property (nonatomic, readonly) MSMapAltitudeReferenceSystem altitudeReferenceSystem

See also: AltitudeReferenceSystem

See Also