IITC-CE / ingress-intel-total-conversion

intel.ingress.com total conversion user script with some new features. Should allow easier extension of the intel map.
https://iitc.app
ISC License
282 stars 108 forks source link

Idea: region selection utility #27

Open johnd0e opened 5 years ago

johnd0e commented 5 years ago

There are A LOT of plugins (some we can see in #2) with same demand:

Instead of re-implement the same functions in each plugin it would be very convenient if IITC provides this as utility function(s).

And more: imho existing implementations are not generic enough. E.g.:

So, the best solution would be to make objects selection tool as plugin.

Edit: this is actually not new idea: https://github.com/iitc-project/ingress-intel-total-conversion/issues/736#issuecomment-32256206

johnd0e commented 5 years ago

More links:

johnd0e commented 2 years ago

Proposed interface: L.Evented object.

Methods

Events