mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 23:15:14 +00:00
Fixed MapProjection.Center
This commit is contained in:
parent
eb5b76d78a
commit
f841e42e39
4 changed files with 15 additions and 21 deletions
|
|
@ -25,7 +25,6 @@ namespace MapControl.Projections
|
|||
public class GeoApiProjection : MapProjection
|
||||
{
|
||||
private ICoordinateSystem coordinateSystem;
|
||||
private Location center;
|
||||
private double scaleFactor;
|
||||
private string bboxFormat;
|
||||
|
||||
|
|
@ -101,10 +100,6 @@ namespace MapControl.Projections
|
|||
Type = MapProjectionType.TransverseCylindrical;
|
||||
}
|
||||
|
||||
Center = new Location(
|
||||
centralParallel != null ? centralParallel.Value : 0d,
|
||||
centralMeridian != null ? centralMeridian.Value : 0d);
|
||||
|
||||
scaleFactor = 1d;
|
||||
bboxFormat = "{0},{1},{2},{3}";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue