protected QuadTile(BoundingBox boundingBox, int zoomLevel, int x, int y) { BoundingBox = boundingBox; left = boundingBox.Left; right = boundingBox.Right; top = boundingBox.Top; bottom = boundingBox.Bottom; TileCoordinates = new TileCoordinates(zoomLevel, x, y); }
private void Update(TileCoordinates tile, Geometri.Område area, Geometry geometry) { VectorQuadTile qt = tileStore.Load(tile.GetRelativePath()); if (!qt.ClipAndAdd(area, geometry, layer.TileOverlapRatio)) { //throw new Exception("Update yields no result for tile " + tile.ToString()); return; } Save(qt); }
public TileCoordinatesWithBoundingBox(BoundingBox boundingBox, int zoomLevel, int x, int y) { BoundingBox = boundingBox; TileCoordinates = new TileCoordinates(zoomLevel, x, y); }