19 #import <ArcGIS/AGSLoadableBase.h> 20 #import <ArcGIS/AGSJSONSerializable.h> 21 #import <ArcGIS/AGSImage.h> 22 #import <ArcGIS/AGSColor.h> 23 #import <ArcGIS/AGSBasemap.h> 64 #pragma mark initializers 81 -(instancetype)initWithBasemap:(
AGSBasemap*)basemap;
87 -(instancetype)initWithItem:(
AGSItem*)item;
98 -(nullable instancetype)initWithURL:(NSURL*)URL;
106 -(instancetype)initWithBasemapType:(
AGSBasemapType)basemapType latitude:(
double)latitude longitude:(
double)longitude levelOfDetail:(NSInteger)levelOfDetail;
123 +(instancetype)mapWithBasemap:(
AGSBasemap*)basemap;
129 +(instancetype)mapWithItem:(
AGSItem*)item;
137 +(instancetype)mapWithBasemapType:(
AGSBasemapType)basemapType latitude:(
double)latitude longitude:(
double)longitude levelOfDetail:(NSInteger)levelOfDetail;
148 +(nullable instancetype)mapWithURL:(NSURL*)URL;
151 #pragma mark properties 166 @property (nullable, nonatomic, strong, readonly)
AGSItem *item;
177 @property (nonatomic, copy, readonly) NSString *
version;
182 @property (nonatomic, strong, readwrite)
AGSBasemap *basemap;
199 @property (nonatomic, strong, readonly) NSMutableArray<AGSFeatureTable*> *
tables;
204 @property (nonatomic, assign, readwrite)
double minScale;
209 @property (nonatomic, assign, readwrite)
double maxScale;
233 @property (nonatomic, strong, readonly) NSMutableArray<AGSBookmark*> *
bookmarks;
245 #pragma mark - Save/SaveAs 267 tags:(NSArray<NSString*> *)tags
269 itemDescription:(NSString*)itemDescription
270 thumbnail:(nullable AGSImage *)thumbnail
271 forceSaveToSupportedVersion:(BOOL)forceSaveToSupportedVersion
272 completion:(nullable
void(^)(NSError * __nullable error))completion;
286 -(id<
AGSCancelable>)saveWithForceSaveToSupportedVersion:(BOOL)forceSaveToSupportedVersion
287 completion:(nullable
void(^)(NSError * __nullable error))completion;
A base class for loadables.
Definition: AGSLoadableBase.h:37
AGSOfflineSettings * offlineSettings
Definition: AGSMap.h:193
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:59
double maxScale
Definition: AGSMap.h:209
A transportation network dataset.
Definition: AGSTransportationNetworkDataset.h:30
double referenceScale
Definition: AGSMap.h:215
A bookmark in a map.
Definition: AGSBookmark.h:30
double minScale
Definition: AGSMap.h:204
AGSViewpoint * initialViewpoint
Definition: AGSMap.h:238
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
NSString * version
Definition: AGSMap.h:177
NSMutableArray< AGSFeatureTable * > * tables
Definition: AGSMap.h:199
Represents the view location of AGSMapView or AGSSceneView.
Definition: AGSViewpoint.h:49
A basemap for a map or a scene.
Definition: AGSBasemap.h:65
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:44
AGSColor * backgroundColor
Definition: AGSMap.h:161
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
A map containing 2D geographic content.
Definition: AGSMap.h:59
Object representing a unit of content.
Definition: AGSItem.h:36
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:31
Settings for layers in a Map or Scene.
Definition: AGSLoadSettings.h:33
AGSLoadSettings * loadSettings
Definition: AGSMap.h:243
An abstract base class for all layers.
Definition: AGSLayer.h:169
AGSBasemapType
Definition: AGSBasemap.h:30
NSMutableArray< AGSLayer * > * operationalLayers
Definition: AGSMap.h:188
NSMutableArray< AGSBookmark * > * bookmarks
Definition: AGSMap.h:233
NSArray< AGSTransportationNetworkDataset * > * transportationNetworks
Definition: AGSMap.h:171
Represents settings in an online web map which the author has configured for offline use...
Definition: AGSOfflineSettings.h:38
An Object representing a Portal for ArcGIS.
Definition: AGSPortal.h:98
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:32