https://github.com/osmsharp/tiles
A few simple C# classes to work with tiles.
https://github.com/osmsharp/tiles
Last synced: about 1 year ago
JSON representation
A few simple C# classes to work with tiles.
- Host: GitHub
- URL: https://github.com/osmsharp/tiles
- Owner: OsmSharp
- License: other
- Created: 2016-11-24T15:29:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-07T10:25:05.000Z (over 8 years ago)
- Last Synced: 2025-02-12T08:19:23.880Z (over 1 year ago)
- Language: HTML
- Size: 30.3 KB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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!
```