An instance of this class allows you display maps from Open Street Map.
In a Model-View-Controller architecture, this object represents the Model. The corresponding View object,
AGSTiledLayerView, is created when this object is added to the map.
Public Member Functions
|(NSOperation< AGSTileOperation > *)||- retrieveImageAsyncForTile:|
Static Public Member Functions
|(AGSOpenStreetMapLayer *)||+ openStreetMapLayer|
|UIView< AGSLayerDelegate > *||delegate|
|id< AGSTiledLayerTileDelegate >||tileDelegate|
|- (void) dataChanged|
This method tells the layer that the data has changed and it should be redrawn.
Implemented in AGSGraphicsLayer.
|- (void) layerDidFailToLoad:||(NSError *)||error|
Method to notify the delegate that a layer failed to load. This method will also post a "LayerFailedToLoad" notification that can be observed by the developer.
|error||Information regarding the cause of the layer failing to load.|
|- (void) layerDidLoad|
Method to notify the delegate that a layer successfully loaded. This method will also post a "LayerDidLoad" notification that can be observed by the developer.
|+ (AGSOpenStreetMapLayer*) openStreetMapLayer|
Return an initialized, auto released, layer.
|- (UIView<AGSLayerDelegate>*) delegate
Delegate to be notified when the layer is loaded or fails to load. When this layer is loaded, a corresponding
AGSLayerView object is automatically set as the delegate. This delegate must not be replaced.
|- (NSError*) error
Information about the error associated with a layer.
|- (AGSEnvelope*) fullEnvelope
Full extent of OpenStreetMap.
|- (AGSEnvelope*) initialEnvelope
Initial extent of OpenStreetMap.
|- (BOOL) loaded
A property indicating whether the layer is loaded and ready to be used. When the layer is loaded, the value becomes
YES, and layer properties can be accessed.
|- (NSString*) name
The name of the layer. This property will be set by the framework when the layer is added to the map.
|- (NSOperationQueue*) operationQueue
Operation queue used by tiled layer to make asynchronous requests. Default operation queue size is 4.
|- (BOOL) renderNativeResolution
Gets a value that determines if the layer renders at the native resolution. This property will not have any affect on iOS devices without a retina display. If using an iOS device with a retina display and you want to take advantage of that display you can set this value to YES. If YES, this layer will use more memory and network bandwidth, but the layer will render at a higher resolution. This property is not settable for every layer type.
|- (AGSSpatialReference*) spatialReference
Spatial Reference used by OpenStreetMap.
|- (id<AGSTiledLayerTileDelegate>) tileDelegate
Delegate to be notified when a tile is retrieved asynchronously. When this layer is loaded, a corresponding View object is automatically set as the
tileDelegate which should not be replaced.
|- (AGSTileInfo*) tileInfo
Tiling scheme used by OpenStreetMap.
|- (BOOL) timeAware
A property indicating whether the layer is time-aware.
|- (AGSUnits) units
The units the layer is in. Possible values include