From a98809ccd51c223735553faa6e4d09ac2d44718c Mon Sep 17 00:00:00 2001 From: fkloft Date: Sun, 22 Feb 2015 18:42:55 +0100 Subject: [PATCH] [regions] extended search - support search for multiple cells separated by "," or ";" - allow omitting the first two components of the cell name - search for 4x4 cluster by omitting the last component - icon for results --- images/icon-cell.svg | 3 + plugins/regions.user.js | 203 +++++++++++++++++++++------------------- 2 files changed, 112 insertions(+), 94 deletions(-) create mode 100644 images/icon-cell.svg diff --git a/images/icon-cell.svg b/images/icon-cell.svg new file mode 100644 index 00000000..b3190951 --- /dev/null +++ b/images/icon-cell.svg @@ -0,0 +1,3 @@ + + + diff --git a/plugins/regions.user.js b/plugins/regions.user.js index 42c3b22e..4c2ec44b 100644 --- a/plugins/regions.user.js +++ b/plugins/regions.user.js @@ -25,10 +25,8 @@ window.plugin.regions = function() {}; window.plugin.regions.setup = function() { @@INCLUDERAW:external/s2geometry.js@@ - window.plugin.regions.regionLayer = L.layerGroup(); - $("