33// @name Fan Fields 2
44// @id fanfields@heistergand
55// @category Layer
6- // @version 2.6.2.20240630
6+ // @version 2.6.3.20250611
77// @description Calculate how to link the portals to create the largest tidy set of nested fields. Enable from the layer chooser.
88// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.user.js
99// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.meta.js
@@ -50,6 +50,12 @@ function wrapper(plugin_info) {
5050 /* exported setup, changelog --eslint */
5151 let arcname = window . PLAYER . team === 'ENLIGHTENED' ? 'Arc' : '***' ;
5252 var changelog = [
53+ {
54+ version : '2.6.3' ,
55+ changes : [
56+ 'FIX: Fixed some minor issues like spelling mistakes.' ,
57+ ] ,
58+ } ,
5359 {
5460 version : '2.6.2' ,
5561 changes : [
@@ -162,7 +168,7 @@ function wrapper(plugin_info) {
162168 {
163169 version : '2.2.7' ,
164170 changes : [
165- 'FIX: Menue Buttons in Mobile version are now actually buttons.' ,
171+ 'FIX: Menu Buttons in Mobile version are now actually buttons.' ,
166172 ] ,
167173 } ,
168174 {
@@ -497,12 +503,12 @@ function wrapper(plugin_info) {
497503 }
498504 dialog ( {
499505 html : '<p>Using Drawtools, draw one or more polygons around the portals you want to work with. ' +
500- 'The Polygons can overlap each other or be completely seperated . All portals within the polygons ' +
506+ 'The Polygons can overlap each other or be completely separated . All portals within the polygons ' +
501507 'count to your planned fanfield.</p>' +
502508
503509 '<p>From the layer selector, enable the 3 Fanfields layer for links, fields and numbers. ' +
504510 'The fanfield will be calculated and shown in red links on the intel. Link directions are indicated ' +
505- 'by dashed links at the portal to lnk from.</p>' +
511+ 'by dashed links at the portal to link from.</p>' +
506512
507513 '<p>The script selects an anchor portal from the hull of all selected portals. Use the Cycle Start ' +
508514 'Button to select another hull portal as anchor.</p>' +
@@ -525,7 +531,7 @@ function wrapper(plugin_info) {
525531 'if you change directions. Also try different anchors to get one more field out of some portal ' +
526532 'constellations.</p> ' +
527533
528- '<p>Copy your fanfield portals to bookmarks or drawtools to extend your possibilites to work ' +
534+ '<p>Copy your fanfield portals to bookmarks or drawtools to extend your possibilities to work ' +
529535 'with the information.</p>' +
530536
531537 '<hr noshade>' +
@@ -1528,6 +1534,7 @@ function wrapper(plugin_info) {
15281534 var polygon , dtLayer , result = [ ] ;
15291535 var i , filtered ;
15301536 var fanLayer ;
1537+ var ll , k , p ;
15311538 for ( dtLayer in dtLayers ) {
15321539 fanLayer = dtLayers [ dtLayer ] ;
15331540 if ( ! ( fanLayer instanceof L . GeodesicPolygon ) ) {
0 commit comments