mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
EPSG Codes & CRS IDs
This commit is contained in:
parent
b74e5aaf7a
commit
ce6f190bf1
18 changed files with 151 additions and 195 deletions
|
|
@ -15,13 +15,12 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public class WebMercatorProjection : MapProjection
|
||||
{
|
||||
public const int DefaultEpsgCode = 3857;
|
||||
public static readonly string DefaultCrsId = $"EPSG:{DefaultEpsgCode}";
|
||||
public const int EpsgCode = 3857;
|
||||
|
||||
public WebMercatorProjection()
|
||||
public WebMercatorProjection(string crsId = "EPSG:3857")
|
||||
{
|
||||
Type = MapProjectionType.WebMercator;
|
||||
CrsId = DefaultCrsId;
|
||||
CrsId = crsId;
|
||||
}
|
||||
|
||||
public override Point GetRelativeScale(Location location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue