22 Commits

Author SHA1 Message Date
Jon Atkins
f3f7a04c4b tweak show-less-portals plugin - show L5 when L4 would by default be in view - jumping straight to L6 was too much
levels L5 to L7 are all one higher (L6 to L8) as before
2015-02-06 22:21:44 +00:00
Jon Atkins
caff9340d3 various tweaks to how IITC requests data tiles from the servers
- change TILES_PER_REQUEST to 25, instead of 10 - to match current stock intel site
- modify the zoom level faking IITC does. it still makes good use of IITC's caching, but no longer switches to a zoom level with larger tiles. recent changes to tile parameters for L8 portals on the standard intel site suggests that it's nicer to the servers to request more, but smaller, tiles, than fewer but larger ones
- restored the 'show less portals when zoomed out' plugin. however, this works differently now. rather than faking the zoom level for larger tiles, it now effectively applies the portal level filter used by the standard site. just as many requests as stock, but much smaller responses with fewer portals, so faster rendering
2014-10-24 00:59:31 +01:00
Jon Atkins
5d8b68747b update tiles-per-edge to match change to stock site 2014-10-14 18:02:29 +01:00
Jon Atkins
9ab6bea90d first pass at extracting version code from the minified javascript
still needs some work, but will get something working in the test builds for now...
2014-08-14 23:54:36 +01:00
Jon Atkins
abb0fcd638 latest stock site update changed the quadkey construction - updated to match 2014-05-06 01:44:10 +01:00
Jon Atkins
7ee40b5b45 make the 'default intel detail level' act more like the stock map - a partial workaround for some portals not being returned for zoom levels 16/17 sometimes
also, 'show more portals' plugin has less impact in this case too
2014-05-04 03:10:50 +01:00
Jon Atkins
a03014a988 tiles per edge: fallback values changed to match stock site, after they undid their revert 2014-03-20 20:33:14 +00:00
Jon Atkins
e1752954a1 and Niantic revert the changes to tile sizes a few days later... 2014-03-18 22:14:10 +00:00
Jon Atkins
40b74f7dba updated internal values due to stock site changes. by preference we detect the values in the stock site, but these are kept as a fallback 2014-03-14 23:28:12 +00:00
Jon Atkins
4f6631d1f7 make IITC first try to use the TILES_PER_EDGE and ZOOM_TO_LEVEL values from the stock script - only falling back (with a warning) to our pre-defined list on error
this way we automatically follow any changes to these made in the stock site, but have a fallback case in case the stock site renames the variables
2014-03-11 02:29:21 +00:00
Jon Atkins
333c1a6daf add tweaks of data retrieval zoom level, to make better use of the cache and be friendlier to the API in some cases
also, default-intel-detail and show-more-portals plugins fixed - the logic has been moved into IITC core, with the plugins just setting flags to change behaviour
2014-02-22 19:30:12 +00:00
Jon Atkins
8ce28334cc internal cleanups on the API used to convert map zoom levels to the parameters needed to generate quadkeys for data tiles.
this should also prevent mixed release plugins/test IITC builds causing issues with it's 'show more portals' plugin
further changes are planned - by lying to the backend about the map zoom to optimise the portal detail level (density) returned and make better use of the data cache. needs some practical experimentation to get good adjustments, and a cleaner API for these plugins
2014-02-22 05:48:52 +00:00
Jon Atkins
9c3e47ec40 protocol changes 2014-02-22 - quadkeys have gone back to using map zoom, rather than portal level, in their names 2014-02-22 02:58:52 +00:00
Jon Atkins
0861d5c35e remove unused function - ingress API no longer uses full bounds-params - it requests by just quadkey now 2014-01-15 19:33:33 +00:00
Mike Castle
b783ef9cf6 Spell check and found a bunch of new comments with typos. 2013-12-02 23:15:02 -08:00
Jon Atkins
1eea47ca99 update code to match stock site changes 2013-10-16
- new munge set
- modified map data tile ID/QK - now based on portal level rather than map zoom
2013-10-16 03:11:19 +01:00
Jon Atkins
92433c5d4b merge patch from #491, that updates things to getThinnedEntitiesV4
also a couple of plugins that were missed
2013-08-16 17:36:17 +01:00
Xelio
b5381603b8 Bug fix: Resonators didn't redraw sometimes after level of portal hide and reshow
And some code simplification.
2013-05-18 17:27:46 +08:00
Paul Tsupikoff
f7f8e1ca94 Rewritten tile request calculation 2013-04-24 12:58:31 +03:00
Jon Atkins
2df9bdc5a7 remove commented out code 2013-04-24 02:15:55 +01:00
goodsoft
d58306ec06 Updated quadkey calculations for new protocol 2013-04-24 03:40:53 +03:00
Stefan Breunig
a07ee0cc3d so others may contribute 2013-02-01 13:11:14 +01:00