Created
March 8, 2012 03:45
-
-
Save conceptdev/1998503 to your computer and use it in GitHub Desktop.
Caulker Tile Source for maptiles used in iOS5 iPhoto
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
public class AppleTileSource : TileSource { | |
public AppleTileSource() { | |
Name = "Apple"; | |
FileExtension = ".jpg"; | |
} | |
public override string GetTileUrl(TileName name) { | |
return string.Format("http://gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=de_DE&z={0}&x={1}&y={2}&v=9", | |
name.Zoom, | |
name.X, name.Y); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment