ArcGIS Runtime SDK for iOS: AGSMap(AGSDeprecated) Category Reference
ArcGIS Runtime SDK for iOS  100.15
AGSMap(AGSDeprecated) Category Reference

Instance Methods

(instancetype) - initWithBasemapType:latitude:longitude:levelOfDetail:
 

Class Methods

(instancetype) + mapWithBasemapType:latitude:longitude:levelOfDetail:
 

Method Documentation

◆ initWithBasemapType:latitude:longitude:levelOfDetail:

- (instancetype) initWithBasemapType: (AGSBasemapType)  basemapType
latitude: (double)  latitude
longitude: (double)  longitude
levelOfDetail: (NSInteger)  levelOfDetail 

Creates a map with a basemap and an initial viewpoint. The map will be created with a basemap set, a spatial reference in WGS84 and the initial viewpoint set. In order to take advantage of geographically load balanced services and monitor usage with API keys or named users, use initWithBasemapStyle: (AGSMap).

Parameters
basemapTypeThe basemap.
latitudeThe latitude for the initial viewpoint.
longitudeThe longitude for the initial viewpoint.
levelOfDetailThe level of detail (converted to scale) for the initial viewpoint. 0 is the most zoomed out.
Since
100.0
Deprecated:
100.14.0. Use initWithBasemapStyle: (AGSMap).

Extends class AGSMap.

◆ mapWithBasemapType:latitude:longitude:levelOfDetail:

+ (instancetype) mapWithBasemapType: (AGSBasemapType)  basemapType
latitude: (double)  latitude
longitude: (double)  longitude
levelOfDetail: (NSInteger)  levelOfDetail 

Creates a map with a basemap and an initial viewpoint. The map will be created with a basemap set, a spatial reference in WGS84 and the initial viewpoint set. In order to take advantage of geographically load balanced services and monitor usage with API keys or named users, use mapWithBasemapStyle: (AGSMap).

Parameters
basemapTypeThe basemap.
latitudeThe latitude for the initial viewpoint.
longitudeThe longitude for the initial viewpoint.
levelOfDetailThe level of detail (converted to scale) for the initial viewpoint. 0 is the most zoomed out.
Since
100.0
Deprecated:
100.14.0. Use mapWithBasemapStyle: (AGSMap).

Extends class AGSMap.