16 Commits

Author SHA1 Message Date
Jon Atkins
2084117bd8 with canvas based L.Paths, it's inefficient to draw too frequently, so reduce the debug tile refresh rate even further 2014-03-22 03:43:52 +00:00
Jon Atkins
0a9cc966cd slow animated fade speed, and add new tile status for render queue code 2014-03-21 04:42:48 +00:00
Jon Atkins
246fa1a7d7 double-timeout on debug tile fading - helps when rendering goes slow 2014-03-17 07:07:02 +00:00
Jon Atkins
6c50fc9eb1 oops - can only bringToFront when a layer is acutally on the map - so check debug layer is enabled 2014-03-11 13:59:02 +00:00
Jon Atkins
d534b12f19 debug: move debug tiles to back 2014-03-10 22:18:02 +00:00
Jon Atkins
b5e2ad70b4 debug tiles: fade rather than instant clear 2014-03-03 01:13:52 +00:00
Jon Atkins
b173f778a5 debug tiles: clear on a timer rather than at the end of the requests 2014-03-02 01:33:22 +00:00
Jon Atkins
0a506d3027 debug tile display: remove the 'ok' tiles from screen when the refresh completes - makes it practical to leave the layer on at all times 2014-03-02 01:02:40 +00:00
Jon Atkins
16e56917c2 debug layer: default to off 2014-02-26 05:12:37 +00:00
Jon Atkins
e7fe4bb1dd first pass at a fix for protocol changes - #618 2013-10-29 20:29:08 +00:00
Jon Atkins
d2661874c6 some work-in-progress. from a read of the far-less-obfsucated code on the stock site it looks like map data can be retrieved as an update to an earlier query
i.e. pass the timestamp of the last data request, and the server should only send the changed data rather than everything
2013-10-07 20:29:05 +01:00
Jon Atkins
b83cf459c8 more tweaks to the request code
- delay briefly before retrying a timeout, and a bit longer before other errors
- also delay briefly before running the queue after a request, to give a chance of more than one request's requeued entries being handled atr once
- add a min tiles per request, to avoid sending multiple requests when only a few queued items remain
these are attempts to be nicer to the niantic servers, particularly in error cases, with some based on my best guess of the stock site behaviour, and others based on what seems reasonable to me
2013-09-06 22:32:57 +01:00
Jon Atkins
b8514ef3d0 tweak debug layer colours 2013-08-31 01:41:54 +01:00
Jon Atkins
de432a0aa3 more work on new render code. the new request class is now used - things are almost working right again
still need to change map refresh timer, add back resonators, and write a plugin for field MU count display
2013-08-27 02:43:58 +01:00
Jon Atkins
be97d72158 more work-in-progress... 2013-08-26 17:44:08 +01:00
Jon Atkins
7e3c310543 move map data debug tilers to a separate class 2013-08-26 15:51:16 +01:00