mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Version 5.0: Reworked MapBase and MapPath
This commit is contained in:
parent
06fd31c17b
commit
49e15ce424
41 changed files with 466 additions and 1068 deletions
|
|
@ -47,11 +47,11 @@ namespace MapControl
|
|||
viewTransform.GetTileLayerTransform(TileMatrix.Scale, TileMatrix.TopLeft, tileMatrixOrigin);
|
||||
}
|
||||
|
||||
public bool SetBounds(ViewTransform viewTransform, Size viewportSize)
|
||||
public bool SetBounds(ViewTransform viewTransform, Size viewSize)
|
||||
{
|
||||
// bounds in tile pixels from viewport size
|
||||
// bounds in tile pixels from view size
|
||||
//
|
||||
var bounds = viewTransform.GetTileMatrixBounds(TileMatrix.Scale, TileMatrix.TopLeft, viewportSize);
|
||||
var bounds = viewTransform.GetTileMatrixBounds(TileMatrix.Scale, TileMatrix.TopLeft, viewSize);
|
||||
|
||||
// tile column and row index bounds
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue