Comments (2)
Here will be the list of all externals, where we should specify:
- current version (clear checkbox if it's below upstream)
- bold if the source was modified from upstream (specify exact mods)
(WIP)
jQuery-related components:
- jQuery (jquery-3.3.1.min.js) © JS Foundation: [MIT]
- jQuery UI (jquery-ui-1.12.1.min.js) © JS Foundation:[MIT]
- [2b253c5] jquery-qrcode (jquery.qrcode.min.js) © Jerome Etienne: [MIT]
- [74613a8 mod] jquery-taphold (taphold.js) © Rich Adams: [CC BY 3.0]
Mod:touchcancel
support (added later to upstream too)
jQuery: fixed deprecated functions (IITC-CE/jquery-taphold@a85050a) - [~1.2.0 Mod] Spectrum colorpicker (.js/.css) © Brian Grinstead: [MIT]
jQuery: fixed deprecated functions (McBen a43f785504a73794f3deb85d9e1028a25d9132c4) (fixed in recent upstream too)
Leaflet-related components:
- [1.4.0] Leaflet © Vladimir Agafonkin, CloudMade: [LICENCE]
- [33ea262 + mod] Leaflet.draw © Jon West, Jacob Toye, and Leaflet: [MIT]
- Shramov leaflet-plugins © Pavel Shramov, Bruno Bergot: [MIT]
- [b68a264 + 1641fd5] toGeoJSON (togeojson.js) © Mapbox: [BSD-2-Clause]
- [04c6d46 + mod] Leaflet.FileLayer (leaflet.filelayer.js) © Makina Corpus: [MIT]
- [0.8.0] Leaflet.GridLayer.GoogleMutant (Leaflet.GoogleMutant.js) © Iván Sánchez Ortega: [LICENCE]
- [v3.4.0 + 78d77aa + 1973792] Leaflet.MiniMap (Control.MiniMap.js) © Norkart AS: [BSD-2-Clause]
- https://github.com/kartena © Kartena AB
- [7b54411] Leaflet.Pancontrol (L.Control.Pan .js/.css/images): [BSD-2-Clause]
- [0ca1aba] Leaflet.zoomslider (L.Control.Zoomslider .js/.css): [BSD-2-Clause]
- [mod] Leaflet.Geodesic (L.Geodesic.js) © Kevin Brasier: [BSD-2-Clause]
- [v0.2.6 + 1973792] Overlapping Marker Spiderfier (oms.min.js) © George MacKerron: [MIT]
- [7f807ae + 9077c24] LatLng_Bearings.js [www] © Greg Allensworth: [No licence]
Other:
- [6717ce2] autolink-js © Bryan Woods: [MIT]
- [f828670 + ea46405] delaunay.js © Jay LaPorte: [CC0 1.0]
Modded (minor refactoring needed during update). - [3acd55a] load.js © Chris O'Hara: [MIT]
- [5e20625 + 42ed656 + 6f8fbe6] s2-geometry-javascript (s2geometry.js) © Jon Atkins: [LICENSE: same as IITC]
from ingress-intel-total-conversion.
So I've figured out exact versions of externals (as long as required modification), and now we can begin to update most of them (excl. Leaflet.draw
, leaflet.filelayer.js
, togeojson.js
).
Some things still need to be clarified:
-
Do we really need 522ef34: #78 (comment)?
Update: #122 -
Leaflet.Geodesic
has an alternative:
(https://github.com/henrythasler/Leaflet.Geodesic) (Leaflet.Geodesic.js) © Henry Thasler: [GPL-3.0] -
s2geometry.js
has more advanced fork: s2geometry.js © Jon Atkins, AJ ONeal: [ISC]
Moved to https://git.daplie.com/Daplie/s2-geometry.js/ (failed to connect) -
fixed.Yandex.js
is extremely laggy
Consider trying https://github.com/kostjerry/leaflet-yandex instead -
Bing.js
is extremely blurryenableRetina
fixed. -
Shramov leaflet-plugins
: filesleaflet.filelayer.js
,togeojson.js
are not present in upstream, need to search out their sources.
There is an error in ATTRIBUTION.md, that files are not by Shramov -
toGeoJSON (togeojson.js) © Mapbox: [BSD-2-Clause]
This repo is now developed at https://github.com/tmcw/togeojson: there is no major features added yet. But it is ES2015+. -
delaunay.js
upstream is updated to more fast version, but it's still not fastest available, see performance comparison here.
We should consider switch to https://github.com/mapbox/delaunator, it has pretty the same api, with minor differences.// https://unpkg.com/[email protected]/delaunator.js var triangles = tidyLinks.Delaunator.from(locations.map(function (latlng) { var point = map.project(latlng, tidyLinks.PROJECT_ZOOM); return [point.x,point.y]; })).triangles;
-
alternative to
oms.js
: https://github.com/robertleeplummerjr/Leaflet.spiderfy/
see jawj/OverlappingMarkerSpiderfier-Leaflet#30, jawj/OverlappingMarkerSpiderfier-Leaflet#31 -
load.js
is used only inbasemap-yandex.user.js
andsync.user.js
, in form ofload(yandexApiJs).thenRun(callback);
, so I suppose it can be replaced withjQuery.getScript()
.
BTW, there is also jQuery.loadScript -
autolink.js
is used in single place: (and I don't feel it's necessary):
ingress-intel-total-conversion/code/chat.js
Line 334 in d77562b
-
jquery.qrcode.min.js
is used in single place too:
Perhaps it should be better to have it as plugin.
The codebase is rather old. Alternatives: https://www.nayuki.io/page/qr-code-generator-library#javascript, https://www.cssscript.com/tag/qr-code/ -
LatLng_Bearings.js
can be replaced by gmaps geometry library function spherical.computeHeading.
P.S.
L.Control.Pan.css
and L.Control.Zoomslider.css
was slightly modified, so after update we need to verify if it is still needed.
L.Control.Pan.css
and L.Control.Zoomslider.css
was slightly modified, so after update we need to verify if it is still needed.iitc-project/ingress-intel-total-conversion#99:
-.leaflet-control-zoom {
+.leaflet-bar {
+/*
+ override the scale bar and push it over
+*/
+.leaflet-control-scale {
+ left: 63px !important;
+}
iitc-project/ingress-intel-total-conversion#283:
.leaflet-control-zoomslider-slider {
+ background-color: #fff;
+ border-bottom: 1px solid #ccc;
from ingress-intel-total-conversion.
Related Issues (20)
- Alphabetical sorting of all plugin links under the portal details panel HOT 3
- Hide portal levels plugin : Layers not related to portal levels are also included in the target.
- Bookmarks not showing HOT 6
- Access blocked: authorisation error [Sync Error] HOT 8
- Mobile: Login with "fake user agent" switches to Desktop mode
- console warning is spamming HOT 2
- Gaode Map tiles is broken HOT 2
- Wrong region naming (and probably indexing) in the AS face HOT 2
- Pixel 8 Pro Not Working At All
- Migrate Stamen map tiles to Stadia HOT 1
- `Permalink` and `Portal link` are different than stock intel HOT 3
- Update Portal Count plugin to include History info
- Cell Score Names Wrong on Map HOT 1
- Login issues HOT 11
- [Not Working] - "Privacy view on intel" Offical Plugin
- Draw Tools update from 0.10.1 to 0.10.2 - menu is lost HOT 3
- Filtering portals by level doesn't work for Machina HOT 1
- Found 1 Fatal Exception Crash and 1 IllegalArgumentException from Testing
- Permalink menu entry broken since v38.0
- AP gain calculation does not include Machina recapture 1331 bonus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ingress-intel-total-conversion.