Commit Graph

10 Commits

Author SHA1 Message Date
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
3ea40952ce niantic are tweaking the web protocol. so far, seen getThinnedEntitiesV2 renamed to V3 - but no changes in request/response format?! 2013-08-13 21:11:32 +01:00
55c055425b Avoid using Object.keys(obj).length in hot code paths
Complexity of Object.keys(obj).length is O(n) where n is the number of
object keys. Unfortunately, JavaScript have no built-in means of
determining number of object keys in constant time. Therefore, we have
to count object keys using separate counter variable.

It may look ugly (and indeed it is), but it greatly improves smoothness
and overall feel of IITC.
2013-08-02 20:00:03 +04:00
0c836ccfc2 Bug fix: selected portal should not remove when zooming/panning out of range 2013-05-18 14:52:43 +08:00
3980a19e46 Bug fix in portal render limit handler and add function to clean up left over portals which should be removed after minimum display portal level rise. 2013-05-14 00:26:26 +08:00
4113991201 Code restructure 3 2013-03-01 15:31:15 +08:00
a679710198 Code restructure 2 2013-03-01 15:00:49 +08:00
c9d7300a05 Code Restructure 2013-03-01 14:40:30 +08:00
c75caa91dd Fix flicker portal in portal render limit handler
Change:
Extract portal handle process from "handleDataResponse" to "handlePortalData"
Add "action" property to object returned by $.ajax() to identity type of request
Delay low level portal render until no active request of map data.
2013-02-28 15:10:13 +08:00
f4f3e7791f Code restructure of portal render limit handler 2013-02-27 01:14:18 +08:00