diff --git a/config/default.php b/config/default.php index 34c9fbc0f..38af2ca49 100644 --- a/config/default.php +++ b/config/default.php @@ -389,7 +389,9 @@ $excludeNestMons = [2,3,5,6,8,9,11,12,14,15,17,18,20,22,24,26,28,29,30,31,32,33,34,36,38,40,42,44,45,49,51,53,55,57,59,61,62,64,65,67,68,70,71,73,75,76,78,80,82,83,85,87,88,89,91,93,94,97,99,101,103,105,106,107,108,109,110,112,113,114,115,117,119,121,122,128,130,131,132,134,135,136,137,139,142,143,144,145,146,147,148,149,150,151,153,154,156,157,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,191,192,194,195,196,197,199,201,204,205,207,208,210,212,214,217,218,219,221,222,223,224,225,228,229,230,232,233,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,253,254,256,257,259,260,262,263,264,265,266,267,268,269,270,271,272,274,275,276,277,279,280,281,282,284,286,287,288,289,290,291,292,293,294,295,297,298,301,303,304,305,306,308,310,313,314,316,317,319,321,323,324,326,327,328,329,330,331,332,334,335,336,337,338,339,340,342,344,346,348,349,350,351,352,354,356,357,358,359,360,361,362,363,364,365,366,367,368,369,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386]; $nestCoords = array(); //$nestCoords = array(array('lat1' => 42.8307723529682, 'lng1' => -88.7527692278689, 'lat2' => 42.1339901128552, 'lng2' => -88.0688703020877),array( 'lat1' => 42.8529250952743,'lng1' => -88.1292951067752,'lat2' => 41.7929306950085,'lng2' => -87.5662457903689)); - +$noNestPolygon = false; +$enableNestPolygon = 'false'; +$nestGeoJSONfile = 'custom/nest.json'; // path to geoJSON file provided by https://github.com/M4d40/PMSFnestScript //----------------------------------------------------- // Areas //----------------------------------------------------- diff --git a/config/example.config.php b/config/example.config.php index c0721781e..57d9057b5 100644 --- a/config/example.config.php +++ b/config/example.config.php @@ -389,7 +389,9 @@ $excludeNestMons = [2,3,5,6,8,9,11,12,14,15,17,18,20,22,24,26,28,29,30,31,32,33,34,36,38,40,42,44,45,49,51,53,55,57,59,61,62,64,65,67,68,70,71,73,75,76,78,80,82,83,85,87,88,89,91,93,94,97,99,101,103,105,106,107,108,109,110,112,113,114,115,117,119,121,122,128,130,131,132,134,135,136,137,139,142,143,144,145,146,147,148,149,150,151,153,154,156,157,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,191,192,194,195,196,197,199,201,204,205,207,208,210,212,214,217,218,219,221,222,223,224,225,228,229,230,232,233,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,253,254,256,257,259,260,262,263,264,265,266,267,268,269,270,271,272,274,275,276,277,279,280,281,282,284,286,287,288,289,290,291,292,293,294,295,297,298,301,303,304,305,306,308,310,313,314,316,317,319,321,323,324,326,327,328,329,330,331,332,334,335,336,337,338,339,340,342,344,346,348,349,350,351,352,354,356,357,358,359,360,361,362,363,364,365,366,367,368,369,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386]; $nestCoords = array(); //$nestCoords = array(array('lat1' => 42.8307723529682, 'lng1' => -88.7527692278689, 'lat2' => 42.1339901128552, 'lng2' => -88.0688703020877),array( 'lat1' => 42.8529250952743,'lng1' => -88.1292951067752,'lat2' => 41.7929306950085,'lng2' => -87.5662457903689)); - +$noNestPolygon = false; +$enableNestPolygon = 'false'; +$nestGeoJSONfile = 'custom/nest.json'; // path to geoJSON file provided by https://github.com/M4d40/PMSFnestScript //----------------------------------------------------- // Areas //----------------------------------------------------- diff --git a/gym_data.php b/gym_data.php index 48ee1b517..a252d27e6 100644 --- a/gym_data.php +++ b/gym_data.php @@ -14,7 +14,7 @@ $scanner = new \Scanner\Monocle_PMSF(); } } elseif (strtolower($map) === "rdm") { - if (strtolower($fork) === "public") { + if (strtolower($fork) === "default") { $scanner = new \Scanner\RDM(); } else { $scanner = new \Scanner\RDM_beta(); diff --git a/pre-index.php b/pre-index.php index ebf8859d5..ac53dd971 100644 --- a/pre-index.php +++ b/pre-index.php @@ -309,6 +309,19 @@ class="onoffswitch-checkbox" checked> '; + } ?> + +

' . i8ln( 'Nest Polygon' ) . '

+
+ + +
+ '; } ?>