AWFMapImageURL
AWFMapImageURL
is a subclass of AWFMapURL
that is responsible for configuring a URL for interacting with the Aeris Maps Platform (AMP) static
imagery service. These images are single images and typically consist of a solid base style layer.
-
The center coordinate for the map.
Declaration
Objective-C
@property (nonatomic) CLLocationCoordinate2D centerCoordinate;
Swift
var centerCoordinate: CLLocationCoordinate2D { get set }
-
The coordinate bounds for the map’s visible region.
If this value is defined, then
centerCoordinate
will return the center of the specified bounds.Declaration
Objective-C
@property (nonatomic) int boundingBox;
Swift
var boundingBox: Int32 { get set }
-
The zoom level for the map.
Declaration
Objective-C
@property (nonatomic) NSUInteger zoomLevel;
Swift
var zoomLevel: UInt { get set }
-
The size of the image to request.
Declaration
Objective-C
@property (nonatomic) CGSize mapSize;
Swift
var mapSize: CGSize { get set }
-
The image format to request. The default is
png
.Declaration
Objective-C
@property (nonatomic) NSInteger imageFormat;
Swift
var imageFormat: Int { get set }
-
Sets the map’s center coordinate to that of the specified place. This will override any value previously defined for
boundingBox
.Declaration
Objective-C
- (void)centerOnPlace:(id)place;
Swift
func center(onPlace place: Any!)
Parameters
place
The
AWFPlace
to center the map on