internal MapConfiguration()
{
using (var service = ServiceFactory.GetCallbackServiceWrapper<ISettingsService>(new SettingsServiceCallback()))
{
Traffic = service.Instance.GetSetting(SettingKeys.Traffic).GetValue<bool>();
Tilt = service.Instance.GetSetting(SettingKeys.Tilt).GetValue<bool>();
Route = service.Instance.GetSetting(SettingKeys.Route).GetValue<bool>();
ZoomControl = service.Instance.GetSetting(SettingKeys.ZoomControl).GetValue<bool>();
ZoomLevel = service.Instance.GetSetting(SettingKeys.ZoomLevel).GetValue<int>();
ZoomOnAddress = service.Instance.GetSetting(SettingKeys.ZoomOnAddress).GetValue<bool>();
Home = service.Instance.GetSetting(SharedSettingKeys.FDStreet).GetValue<string>() + " " +
service.Instance.GetSetting(SharedSettingKeys.FDStreetNumber).GetValue<string>() + " " +
service.Instance.GetSetting(SharedSettingKeys.FDZipCode).GetValue<string>() + " " +
service.Instance.GetSetting(SharedSettingKeys.FDCity).GetValue<string>();
Maptype = GetMapType(service.Instance.GetSetting(SettingKeys.MapType).GetValue<string>());
}
}