This class stores the geographic zone releated values, like which are the zones of the map.
More...
|
static List< string > | zoneNames_ = new List<string> { "North", "West", "Center", "East", "South"} |
| List<string> that contains the name of each of the zones that is divided the map of the app. More...
|
|
static List< string > | typesOfSites_ = new List<string> { "beaches", "hikingRoutes", "naturalParks", "naturalPools", "viewpoints"} |
| List<string> that contains the valid types of the interesting points. More...
|
|
This class stores the geographic zone releated values, like which are the zones of the map.
This class shouldn't be initialized, all its properties and methods are static.
◆ getTypesOfSites()
static List< string > mapRulesHandler.getTypesOfSites |
( |
| ) |
|
|
static |
getter of the typeOfSites_ static property.
- Returns
- List<string> that contains the valid type of the interesting points.
◆ getZoneNames()
static List< string > mapRulesHandler.getZoneNames |
( |
| ) |
|
|
static |
getter of the zoneNames_ static property.
- Returns
- List<string> that contains the name of each of the zones of the map.
◆ getZoneOf()
static string mapRulesHandler.getZoneOf |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
|
static |
- Parameters
-
double | latitude of the point |
double | longitude of the point |
- Returns
- string it returns the zone of the given point. If it doesnt fit on any of the defined zones, it returns "Can't Find Zone of given point"
◆ earthRadious
double mapRulesHandler.earthRadious = 6377.830272 |
|
static |
double stores the earth radious
◆ fromKMtoMilles
double mapRulesHandler.fromKMtoMilles = 0.621371 |
|
static |
double stores the conversion of kms to milles
◆ typesOfSites_
List<string> mapRulesHandler.typesOfSites_ = new List<string> { "beaches", "hikingRoutes", "naturalParks", "naturalPools", "viewpoints"} |
|
staticprivate |
List<string> that contains the valid types of the interesting points.
You have to be aware that changing this attribute wont change the options menu, you will have to change the option menu manually.
◆ zoneNames_
List<string> mapRulesHandler.zoneNames_ = new List<string> { "North", "West", "Center", "East", "South"} |
|
staticprivate |
List<string> that contains the name of each of the zones that is divided the map of the app.
The documentation for this class was generated from the following file: