@ -29,21 +29,21 @@
static Locations GetPreconfiguredLocations ( )
{
var ww = new Locations ( ) { Code = "WW" , Description = "WorldWide" , Latitude = - 1 , Longitude = - 1 } ;
var ww = new Locations ( "WW" , "WorldWide" , - 1 , - 1 ) ;
ww . ChildLocations . Add ( GetUSLocations ( ) ) ;
return ww ;
}
static Locations GetUSLocations ( )
{
var us = new Locations ( ) { Code = "US" , Description = "United States" , Latitude = 4 1.650455 , Longitude = - 1 0 1.357386 , Polygon = GetUSPoligon ( ) } ;
var us = new Locations ( "US" , "United States" , 4 1.650455 , - 1 0 1.357386 , GetUSPoligon ( ) ) ;
us . ChildLocations . Add ( GetWashingtonLocations ( ) ) ;
return us ;
}
static Locations GetWashingtonLocations ( )
{
var wht = new Locations ( ) { Code = "WHT" , Description = "Washington" , Latitude = 4 7.223652 , Longitude = - 1 1 9.542781 , Polygon = GetWashingtonPoligon ( ) } ;
var wht = new Locations ( "WHT" , "Washington" , 4 7.223652 , - 1 1 9.542781 , GetWashingtonPoligon ( ) ) ;
wht . ChildLocations . Add ( GetSeattleLocations ( ) ) ;
wht . ChildLocations . Add ( GetRedmondLocations ( ) ) ;
return wht ;
@ -51,80 +51,80 @@
static Locations GetSeattleLocations ( )
{
var bcn = new Locations ( ) { Code = "SEAT" , Description = "Seattle" , Latitude = 4 7.603111 , Longitude = - 1 2 2.330747 , Polygon = GetSeattlePoligon ( ) } ;
bcn . ChildLocations . Add ( new Locations ( ) { Code = "SEAT-PioneerSqr" , Description = "Seattle Pioneer Square Shop" , Latitude = 4 7.602053 , Longitude = - 1 2 2.333884 , Polygon = GetSeattlePioneerSqrPoligon ( ) } ) ;
var bcn = new Locations ( "SEAT" , "Seattle" , 4 7.603111 , - 1 2 2.330747 , GetSeattlePoligon ( ) ) ;
bcn . ChildLocations . Add ( new Locations ( "SEAT-PioneerSqr" , "Seattle Pioneer Square Shop" , 4 7.602053 , - 1 2 2.333884 , GetSeattlePioneerSqrPoligon ( ) ) ) ;
return bcn ;
}
static Locations GetRedmondLocations ( )
{
var bcn = new Locations ( ) { Code = "REDM" , Description = "Redmond" , Latitude = 4 7.674961 , Longitude = - 1 2 2.122887 , Polygon = GetRedmondPoligon ( ) } ;
bcn . ChildLocations . Add ( new Locations ( ) { Code = "REDM-DWNTWP" , Description = "Redmond Downtown Central Park Shop" , Latitude = 4 7.674433 , Longitude = - 1 2 2.125006 , Polygon = GetRedmondDowntownParkPoligon ( ) } ) ;
var bcn = new Locations ( "REDM" , "Redmond" , 4 7.674961 , - 1 2 2.122887 , GetRedmondPoligon ( ) ) ;
bcn . ChildLocations . Add ( new Locations ( "REDM-DWNTWP" , "Redmond Downtown Central Park Shop" , 4 7.674433 , - 1 2 2.125006 , GetRedmondDowntownParkPoligon ( ) ) ) ;
return bcn ;
}
static List < FrontierPoints > GetUSPoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 8.7985 , Longitude = - 6 2.88205 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 8.76513 , Longitude = - 1 2 9.31329 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 3 0.12256 , Longitude = - 1 2 0.9496 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 3 0.87114 , Longitude = - 1 1 1.39442 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 2 4.24979 , Longitude = - 7 8.11975 } ) ;
poligon . Add ( new FrontierPoints ( 4 8.7985 , - 6 2.88205 ) ) ;
poligon . Add ( new FrontierPoints ( 4 8.76513 , - 1 2 9.3132 ) ) ;
poligon . Add ( new FrontierPoints ( 3 0.12256 , - 1 2 0.9496 ) ) ;
poligon . Add ( new FrontierPoints ( 3 0.87114 , - 1 1 1.3944 ) ) ;
poligon . Add ( new FrontierPoints ( 2 4.24979 , - 7 8.11975 ) ) ;
return poligon ;
}
static List < FrontierPoints > GetWashingtonPoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 8.8943 , Longitude = - 1 2 4.68633 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 5.66613 , Longitude = - 1 2 4.32962 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 5.93384 , Longitude = - 1 1 6.73824 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 9.04282 , Longitude = - 1 1 6.96912 } ) ;
poligon . Add ( new FrontierPoints ( 4 8.8943 , - 1 2 4.68633 ) ) ;
poligon . Add ( new FrontierPoints ( 4 5.66613 , - 1 2 4.32962 ) ) ;
poligon . Add ( new FrontierPoints ( 4 5.93384 , - 1 1 6.73824 ) ) ;
poligon . Add ( new FrontierPoints ( 4 9.04282 , - 1 1 6.96912 ) ) ;
return poligon ;
}
static List < FrontierPoints > GetSeattlePoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.82929 , Longitude = - 1 2 2.36238 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.6337 , Longitude = - 1 2 2.42091 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.45224 , Longitude = - 1 2 2.37371 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.50259 , Longitude = - 1 2 2.20788 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.73644 , Longitude = - 1 2 2.26934 } ) ;
poligon . Add ( new FrontierPoints ( 4 7.82929 , - 1 2 2.36238 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.6337 , - 1 2 2.42091 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.45224 , - 1 2 2.37371 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.50259 , - 1 2 2.20788 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.73644 , - 1 2 2.26934 ) ) ;
return poligon ;
}
static List < FrontierPoints > GetRedmondPoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.73148 , Longitude = - 1 2 2.15432 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.72559 , Longitude = - 1 2 2.17673 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.67851 , Longitude = - 1 2 2.16904 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.65036 , Longitude = - 1 2 2.16136 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.62746 , Longitude = - 1 2 2.15604 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.63463 , Longitude = - 1 2 2.01562 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.74244 , Longitude = - 1 2 2.04961 } ) ;
poligon . Add ( new FrontierPoints ( 4 7.73148 , - 1 2 2.15432 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.72559 , - 1 2 2.17673 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.67851 , - 1 2 2.16904 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.65036 , - 1 2 2.16136 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.62746 , - 1 2 2.15604 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.63463 , - 1 2 2.01562 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.74244 , - 1 2 2.04961 ) ) ;
return poligon ;
}
static List < FrontierPoints > GetSeattlePioneerSqrPoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.60338 , Longitude = - 1 2 2.3327 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.60192 , Longitude = - 1 2 2.33665 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.60096 , Longitude = - 1 2 2.33456 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.60136 , Longitude = - 1 2 2.33186 } ) ;
poligon . Add ( new FrontierPoints ( 4 7.60338 , - 1 2 2.3327 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.60192 , - 1 2 2.33665 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.60096 , - 1 2 2.33456 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.60136 , - 1 2 2.33186 ) ) ;
return poligon ;
}
static List < FrontierPoints > GetRedmondDowntownParkPoligon ( )
{
var poligon = new List < FrontierPoints > ( ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.67595 , Longitude = - 1 2 2.12467 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.67449 , Longitude = - 1 2 2.12862 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.67353 , Longitude = - 1 2 2.12653 } ) ;
poligon . Add ( new FrontierPoints ( ) { Latitude = 4 7.67368 , Longitude = - 1 2 2.12197 } ) ;
poligon . Add ( new FrontierPoints ( 4 7.67595 , - 1 2 2.12467 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.67449 , - 1 2 2.12862 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.67353 , - 1 2 2.12653 ) ) ;
poligon . Add ( new FrontierPoints ( 4 7.67368 , - 1 2 2.12197 ) ) ;
return poligon ;
}
}