Created
July 25, 2013 23:58
-
-
Save mousebird/6084866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MaplyPlateCarree *coordSys = [[MaplyPlateCarree alloc] initFullCoverage]; | |
MaplyWMSTileSource *tileSource = [[MaplyWMSTileSource alloc] initWithBaseURL:@"http://raster.nationalmap.gov/ArcGIS/services/Orthoimagery/USGS_EDC_Ortho_NAIP/ImageServer/WMSServer" layers:@[@"0"] coordSys:coordSys minZoom:0 maxZoom:16 tileSize:256]; | |
tileSource.transparent = true; | |
MaplyQuadEarthTilesLayer *layer = [[MaplyQuadEarthTilesLayer alloc] initWithCoordSystem:coordSys tileSource:tileSource]; | |
layer.handleEdges = true; | |
layer.cacheDir = thisCacheDir; | |
[baseViewC addLayer:layer]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment