Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# tiles | ||
# Awesome Tiles | ||
|
||
Awesome tiles has two classes: | ||
|
||
- Tile: Represents one tile with a zoom level and x-y coordinate. | ||
- TileRange: Represents a 'rectangular' collection of tiles. | ||
|
||
#### Usage: | ||
|
||
Just include the classes in your code if you need them. | ||
|
||
#### Example: | ||
|
||
```csharp | ||
// create a tile at a given location. | ||
var tile = Tile.CreateAroundLocation(lat, lon, zoom); | ||
|
||
// get info about tile. | ||
var tileTop = tile.Top; | ||
|
||
// and many more awesome stuff, that's why it's called awesome tiles and not just tiles! | ||
``` |