25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSGeoModel.h>
27 #import <ArcGIS/AGSJSONSerializable.h>
28 #import <ArcGIS/AGSImage.h>
29 #import <ArcGIS/AGSColor.h>
30 #import <ArcGIS/AGSBasemap.h>
31 #import <ArcGIS/AGSCancelable.h>
66 #pragma mark initializers
83 -(instancetype)initWithBasemap:(
AGSBasemap*)basemap;
89 -(instancetype)initWithItem:(
AGSItem*)item;
100 -(nullable instancetype)initWithURL:(NSURL*)URL;
124 +(instancetype)mapWithBasemap:(
AGSBasemap*)basemap;
130 +(instancetype)mapWithItem:(
AGSItem*)item;
141 +(nullable instancetype)mapWithURL:(NSURL*)URL;
165 #pragma mark properties
191 @property (nonatomic, strong, readonly) NSMutableArray<AGSUtilityNetwork *> *
utilityNetworks;
206 @property (nonatomic, assign, readwrite)
double minScale;
211 @property (nonatomic, assign, readwrite)
double maxScale;
240 #pragma mark - Save/SaveAs
262 tags:(NSArray<NSString*> *)tags
264 itemDescription:(NSString*)itemDescription
265 thumbnail:(nullable
AGSImage *)thumbnail
266 forceSaveToSupportedVersion:(BOOL)forceSaveToSupportedVersion
267 completion:(nullable
void(^)(NSError * __nullable error))completion;
281 - (id<
AGSCancelable>)saveWithForceSaveToSupportedVersion:(BOOL)forceSaveToSupportedVersion
282 completion:(nullable
void(^)(NSError * __nullable error))completion;
299 - (instancetype)initWithBasemapType:(AGSBasemapType)basemapType
300 latitude:(
double)latitude
301 longitude:(
double)longitude
302 levelOfDetail:(NSInteger)levelOfDetail ;
315 + (instancetype)mapWithBasemapType:(AGSBasemapType)basemapType
316 latitude:(
double)latitude
317 longitude:(
double)longitude
318 levelOfDetail:(NSInteger)levelOfDetail ;
AGSBasemapStyle
Definition: AGSBasemap.h:72
#define AGSColor
Definition: AGSColor.h:34
#define AGSImage
Definition: AGSImage.h:34
A basemap for a map or a scene.
Definition: AGSBasemap.h:135
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
A base class for either an AGSMap or an AGSScene.
Definition: AGSGeoModel.h:54
Object representing a unit of content.
Definition: AGSItem.h:43
A map containing 2D geographic content.
Definition: AGSMap.h:61
double minScale
Definition: AGSMap.h:206
AGSOfflineSettings * offlineSettings
Definition: AGSMap.h:201
AGSEnvelope * maxExtent
Definition: AGSMap.h:238
NSMutableArray< AGSUtilityNetwork * > * utilityNetworks
Definition: AGSMap.h:191
AGSColor * backgroundColor
Definition: AGSMap.h:175
AGSBasemap * basemap
Definition: AGSMap.h:196
double referenceScale
Definition: AGSMap.h:217
AGSViewpoint * initialViewpoint
Definition: AGSMap.h:222
double maxScale
Definition: AGSMap.h:211
Represents settings in an online web map which the author has configured for offline use.
Definition: AGSOfflineSettings.h:49
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:38
An object representing a portal for ArcGIS.
Definition: AGSPortal.h:98
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
A set of predefined trace options that can be used by the AGSUtilityTraceParameters object to simplif...
Definition: AGSUtilityNamedTraceConfiguration.h:46
A utility network.
Definition: AGSUtilityNetwork.h:57
Represents the view location of an AGSMapView or AGSSceneView object.
Definition: AGSViewpoint.h:51
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38