public Tile(int Width, int Height, int x, int y, double Zoom) { this.Width = Width; this.Height = Height; this.Y = y; this.X = x; this.Zoom = Zoom; TranslationMatrix.Translate(-1 * x * Width, -1 * y * Height); Projection = new GoogleMapsAPIProjection(Zoom); Bitmap = new Bitmap(Width, Height); Graphics = Graphics.FromImage(Bitmap); Graphics.InterpolationMode = InterpolationMode.HighQualityBilinear; Graphics.SmoothingMode = SmoothingMode.HighQuality; Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; }
public GeoSink(GoogleMapsAPIProjection projection) { this.projection = projection; Geographies = new List <List <List <PointF> > >(); }