diff --git a/Deploy/Deploy.md b/Deploy/Deploy.md index 00b03b9..3b9c860 100644 --- a/Deploy/Deploy.md +++ b/Deploy/Deploy.md @@ -1,4 +1,4 @@ -#FIRST RESPONSE ONLINE +# FIRST RESPONSE ONLINE ### Requirements diff --git a/src/client/MSCorp.FirstResponse.Client/Data/DataRepository.cs b/src/client/MSCorp.FirstResponse.Client/Data/DataRepository.cs index 3ef4074..8a707bf 100644 --- a/src/client/MSCorp.FirstResponse.Client/Data/DataRepository.cs +++ b/src/client/MSCorp.FirstResponse.Client/Data/DataRepository.cs @@ -66,7 +66,7 @@ namespace MSCorp.FirstResponse.Client.Data { return new List { - new EventModel { CityId = 0, CityName = "Seattle", CityImage = "Seattle", EventDate = "", Latitude = 47.609093, Longitude = -122.015057, AmbulancePosition = new AmbulanceModel(){Latitude= 47.575516, Longitude= -121.988506}}, + new EventModel { CityId = 0, CityName = "Seattle", CityImage = "Seattle", EventDate = "", Latitude = 47.609093, Longitude = -122.015057, AmbulancePosition = new AmbulanceModel(){Latitude= GlobalSetting.AmbulanceLatitude, Longitude= GlobalSetting.AmbulanceLongitude}}, new EventModel { CityId = 24, CityName = "Chicago", CityImage = "Chicago", EventDate = "January 19-20, 2017", Latitude = 41.880367, Longitude = -87.732912, AmbulancePosition = new AmbulanceModel(){Latitude = 41.880367, Longitude = -87.732912}}, new EventModel { CityId = 25, CityName = "Johannesburg", CityImage = "Johannesburg", EventDate = "February 6-7, 2017", Latitude = -26.2041028, Longitude = 28.047305100000017, AmbulancePosition = new AmbulanceModel(){Latitude = -26.2041028, Longitude = 28.047305100000017}}, new EventModel { CityId = 26, CityName = "Frankfurt", CityImage = "Frankfurt", EventDate = "February 9-10, 2017", Latitude = 50.1109221, Longitude = 8.682126700000026, AmbulancePosition = new AmbulanceModel(){Latitude = 50.1109221, Longitude = 8.682126700000026}}, diff --git a/src/client/MSCorp.FirstResponse.Client/GlobalSetting.cs b/src/client/MSCorp.FirstResponse.Client/GlobalSetting.cs index f5be824..d81678c 100644 --- a/src/client/MSCorp.FirstResponse.Client/GlobalSetting.cs +++ b/src/client/MSCorp.FirstResponse.Client/GlobalSetting.cs @@ -12,15 +12,15 @@ namespace MSCorp.FirstResponse.Client public const string SuspectJsonDataFile = "Data/SuspectData.json"; public const string HeatPointsJsonDataFile = "Data/HeatData.json"; - public const string ServiceEndpoint = "http://localhost:50002/"; + public const string ServiceEndpoint = "http://localhost:50002/"; public const bool UseMockServiceDefault = false; public const int DefaultMockCityId= 0; public const int DefaultCityId = 35; public const double UserLatitude = 47.609093; public const double UserLongitude = -122.015057; - public const double AmbulanceLatitude = 47.575516; - public const double AmbulanceLongitude = -121.988506; + public const double AmbulanceLatitude = 47.603350; + public const double AmbulanceLongitude = -122.019949; public const string BingMapsAPIKey = "40mgB3YEUPMAewdi02Hm~HM0JyrqUSuQqAz9WoBg0Iw~Ar-hXz2S6oaN-ZJRM3VzCSS1lpPhUlNmParkTwh6zuaG7AcSb9j2N0Oe2wRpr5qz";