mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated GeoApiProjectionFactory
This commit is contained in:
parent
e6b25c2f8d
commit
45b5d037bb
3 changed files with 11 additions and 38 deletions
|
|
@ -6,7 +6,7 @@ namespace MapControl
|
|||
{
|
||||
public class MapProjectionFactory
|
||||
{
|
||||
public virtual MapProjection CreateProjection(string crsId)
|
||||
public virtual MapProjection GetProjection(string crsId)
|
||||
{
|
||||
MapProjection projection = null;
|
||||
|
||||
|
|
@ -43,6 +43,9 @@ namespace MapControl
|
|||
case "EPSG:97003": // proprietary CRS ID
|
||||
projection = new AzimuthalEquidistantProjection { CrsId = crsId };
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return projection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue