51 lines
1.9 KiB
C#
51 lines
1.9 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="CBMainMapModel.cs" company="BTU/IIT">
|
|
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
|
// </copyright>
|
|
// <author>Stubbfel</author>
|
|
// <date>14.10.2013</date>
|
|
// <summary>Implements the main map model class</summary>
|
|
//-----------------------------------------------------------------------
|
|
namespace CampusAppWP8.Model.Campusmap
|
|
{
|
|
using System.Collections.Generic;
|
|
using System.Windows;
|
|
using CampusAppWP8.Model.GeoDb;
|
|
using CampusAppWP8.Resources;
|
|
|
|
/// <summary> Class for the MapModel of the mainCampus of cottbus. </summary>
|
|
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
|
/// <seealso cref="T:CampusAppWP8.Model.Campusmap.CampusMapModel"/>
|
|
public class CBMainMapModel : CampusMapModel
|
|
{
|
|
#region Member
|
|
|
|
/// <summary> Variable for the identify of the campus. </summary>
|
|
private static readonly string Campus = ((int)CampusAppWPortalLib8.Model.Settings.Campus.CB_MAIN).ToString();
|
|
|
|
#endregion
|
|
|
|
#region Constructor
|
|
|
|
/// <summary> Initializes a new instance of the <see cref="CBMainMapModel" /> class. </summary>
|
|
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
|
/// <param name="placeList"> List of places. </param>
|
|
public CBMainMapModel(List<PlaceWp8Model> placeList)
|
|
: base(placeList, CBMainMapModel.Campus)
|
|
{
|
|
this.ImageSource = Constants.FileMap_CBMainMap;
|
|
this.ImageWidth = 2000;
|
|
this.ImageHeight = 1425;
|
|
this.MapImageOffsetX = -228;
|
|
this.MapImageOffsetY = -300;
|
|
this.RefPoint = new Point(1365, 800);
|
|
this.ScaleX = 129483.4123222749;
|
|
this.ScaleY = 197648.8919266073;
|
|
this.GeoOffsetX = 14.327159;
|
|
this.GeoOffsetY = 51.766548;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|