ArcGIS Runtime SDK for iOS: AGSBingMapsLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSBingMapsLayer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSServiceImageTiledLayer.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSBingMapsLayerStyle) {
41 };
42 
43 @class AGSPortal;
44 
76 
77 #pragma mark -
78 #pragma mark initializers
79 
80 
81 
87 -(instancetype)initWithKey:(NSString*)key style:(AGSBingMapsLayerStyle)style;
88 
94 -(instancetype)initWithPortal:(AGSPortal*)portal style:(AGSBingMapsLayerStyle)style;
95 
102 +(instancetype)bingMapsLayerWithKey:(NSString*)key style:(AGSBingMapsLayerStyle)style;
103 
110 +(instancetype)bingMapsLayerWithPortal:(AGSPortal*)portal style:(AGSBingMapsLayerStyle)style;
111 
112 #pragma mark -
113 #pragma mark properties
114 
118 @property (nonatomic, strong, readwrite) NSLocale *locale;
119 
123 @property (nonatomic, copy, readwrite) NSString *key;
124 
128 @property (nullable, nonatomic, strong, readonly) AGSPortal *portal;
129 
133 @property (nonatomic, assign, readonly) AGSBingMapsLayerStyle style;
134 
135 #pragma mark -
136 #pragma mark methods
137 
138 @end
139 
140 
AGSBingMapsLayerStyle
Definition: AGSBingMapsLayer.h:36
@ AGSBingMapsLayerStyleAerial
Definition: AGSBingMapsLayer.h:37
@ AGSBingMapsLayerStyleRoad
Definition: AGSBingMapsLayer.h:39
@ AGSBingMapsLayerStyleHybrid
Definition: AGSBingMapsLayer.h:38
@ AGSBingMapsLayerStyleUnknown
Definition: AGSBingMapsLayer.h:40
Displays Bing maps layers.
Definition: AGSBingMapsLayer.h:76
AGSPortal * portal
Definition: AGSBingMapsLayer.h:128
NSLocale * locale
Definition: AGSBingMapsLayer.h:118
AGSBingMapsLayerStyle style
Definition: AGSBingMapsLayer.h:133
NSString * key
Definition: AGSBingMapsLayer.h:123
An Object representing a Portal for ArcGIS.
Definition: AGSPortal.h:105
A base class for all image tiled layers that fetch map tiles from a remote service.
Definition: AGSServiceImageTiledLayer.h:44