Inherits from RMAbstractMercatorTileSource : NSObject
Declared in RMCompositeSource.h

Overview

RMCompositeSource combines two or more other tile sources, compositing them into a single image per tile and caching that composited result to the tile cache.

RMCompositeSource can have better performance for instances of fully opaque tiles that are layered above other tiles in the tile source stacking order. It will determine if a tile is opaque and stop iteration of tile sources below it early as a result, since they would be obscured anyway.

Tasks

Creating Tile Sources

Querying Tile Source Information

Properties

tileSources

An array of tile sources being composited.

@property (nonatomic, weak, readonly) NSArray *tileSources

Discussion

An array of tile sources being composited.

Declared In

RMCompositeSource.h

Instance Methods

initWithTileSources:tileCacheKey:

Initialize a compositing tile source.

- (id)initWithTileSources:(NSArray *)tileSources tileCacheKey:(NSString *)tileCacheKey

Parameters

tileSources

An array of tile sources to be composited.

tileCacheKey

A tile cache key for storage of composited result tiles.

Return Value

An initialized compositing tile source.

Discussion

Initialize a compositing tile source.

Declared In

RMCompositeSource.h