Jon Atkins
4d72137e12
render queue: when using canvas-based L.Path-s, it's most efficient to draw as much as possible every time - so quick-n-dirty change to the batch limits
2014-03-22 03:42:59 +00:00
Jon Atkins
427614ccca
mobile - show-user-location
...
1. if canvas-based layers are in use, don't draw the hack range marker (as any leaflet path-based drawing is slow, and they don't support SVG styles)
2. only add/remove the circle marker layer when needed - as the leaflet library doesn't document what will happen if a removed layer is removed again, or an added layer is added again
2014-03-22 03:34:46 +00:00
Jon Atkins
ffc056505f
switch to non-minified leaflet-src.js (see 480381d5e970452a275aa44a0d3d168b0fd9cc2b) and enabled L_PREFER_CANVAS
2014-03-22 03:05:27 +00:00
Jon Atkins
480381d5e9
leaflet: modify to handle canvas-based path redrawing better. the correct fix is only in the 0.8-dev at this time, but that's not stable enough to use
...
NOTE: only leaflet-src.js updated, and NOT the minified leaflet.js
2014-03-22 03:03:51 +00:00
Jon Atkins
c0d0d87946
bookmarks plugin: clicking a bookmark icon selects the portal
2014-03-22 02:53:28 +00:00
Jon Atkins
a275ea1673
geodesic: remove dependancy on L.LatLng.DEG_TO_RAD/RAD_TO_DEG, in preperation for leaflet 0.8
2014-03-22 01:46:51 +00:00
Jon Atkins
42ed6566e4
DEG_TO_RAD and RAD_TO_DEG removed from L.LatLng in 0.8-dev builds
2014-03-22 01:04:00 +00:00
Jon Atkins
a341aeb8f8
player tracker: multiPolyLine removed in leaflet 0.8-dev - so let's work without it
2014-03-22 01:02:39 +00:00
Jon Atkins
aaaf2f0b46
Merge pull request #785 from fkloft/chat
...
Remove CHAT_MIN_RANGE
2014-03-22 01:00:50 +00:00
fkloft
2e5da846a0
Remove CHAT_MIN_RANGE
2014-03-21 22:30:32 +01:00
Jon Atkins
eeed5e01cd
remove marker icon shadow
...
it's pretty subtle, and was preventing clicks through it. also, some icons (e.g. the dynamic svg DivIcon from draw-tools) didn't use one, so it seems odd to have a mixture of some with, some without shadows
2014-03-21 20:17:27 +00:00
Jon Atkins
c6e557a557
another piece of experimental marker drawing code - not 100% working. committing for future reference if needed
2014-03-21 17:49:13 +00:00
Jon Atkins
2334166e69
moved experimental alternative marker plugin - it performs very poorly on mobile compared to the regular SVG circle markers
2014-03-21 17:48:24 +00:00
Jon Atkins
ed185c39ec
add some (very) basic checks for "error: 'missing version'" from the server
...
only done in the game score update code - but this is run early, and just once, when loading IITC. it also refreshes at intervals
2014-03-21 17:11:28 +00:00
Jon Atkins
61ed2307e4
turn off markers during zoom animations - let's see how that works...
2014-03-21 16:47:24 +00:00
Jon Atkins
01990b8e73
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2014-03-21 16:26:19 +00:00
Jon Atkins
5cb01b5afe
experimental code: alternative marker rendering system, using canvas to create icon marker bitmaps, displaying as an L.Icon
2014-03-21 16:22:57 +00:00
Philipp Schaefer
1d55d68278
tweaked portal levels plugin. reduced level markers and prefer high level portals.
2014-03-21 15:26:50 +01:00
Jon Atkins
6b13984468
adjust the timers used at the start of a refresh, so IITC does it's work later. should give users a chance to interact a 2nd time
...
move the render queue batch size to the class - and use smaller values on mobile
2014-03-21 05:16:07 +00:00
Jon Atkins
828e7b7d3d
restore the code that prevents rendering short links. seems like the backend isn't removing enough (any?) links again, so they were having a big impact on performance
2014-03-21 05:10:10 +00:00
Jon Atkins
8eeec788df
experimental: render queue. rather than dumping all retrieved data into the render code immediately, queue it up and feed it in a bit at a time
...
also, we pause a very short time between processing sections of the queue - should help ensure things are responsive if user interacts while rendering
todo: better status bar updates while queue is being processed
2014-03-21 04:43:33 +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
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
9c27206218
comment out L_PREFER_CANVAS setting - just in case forcing it affects leaflet's default choice
...
(pretty sure it doesn't, but...)
2014-03-19 05:59:36 +00:00
Jon Atkins
d019ebd15b
possible performance improvement - status bar display updated moved to a timer.
...
so 1. it happens after any delays rendering in the browser
and 2. performance (no repeated updates one after another - possible browser style recalculations)
could move more of the code into the timer event?
2014-03-19 05:25:50 +00:00
Jon Atkins
4dd944a642
move portal level layer enable/disable out of status bar code into a map.on(zoomend) event instead
2014-03-19 04:44:20 +00:00
Jon Atkins
584b8bcd72
changes to queue processing timeouts after errors - should be friendlier to the servers when things fail
2014-03-18 22:16:20 +00:00
Jon Atkins
df4bf0bbc0
remove experimental exception catching code in boot func - was never that helpful
2014-03-18 22:14:55 +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
16cabd89bc
remove some events/timers left over from the stock intel site code
2014-03-17 23:28:51 +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
3232aa5c10
fix @player level tooltip - was looking for player with the '@' - which failed
2014-03-15 17:21:12 +00:00
Jon Atkins
05db7c6ca1
website: update news entry with change details
2014-03-15 16:10:20 +00:00
Jon Atkins
0a96440f77
bump version numbers
2014-03-15 00:03:12 +00:00
Jon Atkins
cb8dc7bd41
oops - some debug code was accidentally committed - portals should be brought to front
2014-03-15 00:02:17 +00:00
Jon Atkins
b8f1928688
website: update for new release
2014-03-15 00:01:05 +00:00
Jon Atkins
6de47595c6
Merge branch 'master' into release
2014-03-14 23:31:51 +00:00
Jon Atkins
aa31ce0c2f
bump mobile version numberr
2014-03-14 23:31:29 +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
fkloft
99324c076c
Show indeterminate progress bar on mobile if chat is loading
2014-03-13 22:16:27 +01:00
fkloft
8c55c1eea6
[plugin/guess-player-levels] Fix error in algorithm; skip calculations if player is already known to be L8
2014-03-13 22:02:11 +01:00
fkloft
047fce5225
[plugins/guess-player-levels] EXPERIMENTAL: search log to determine player level by burster range
2014-03-12 23:06:34 +01: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
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
f9d2346d72
ap for L2 and L3 were changed a long time ago (L2, from 10000 to 2500, L3, from 30000 to 20000)
2014-03-10 22:23:29 +00:00
Jon Atkins
d534b12f19
debug: move debug tiles to back
2014-03-10 22:18:02 +00:00
fkloft
57720b270a
[portal-counts] show percentage
2014-03-10 19:51:12 +01:00
fkloft
1c858f995c
small refactoring
2014-03-10 18:50:12 +01:00
Jon Atkins
2f7635a175
comment converning cache-related optimisation that might be added
2014-03-09 05:53:53 +00:00
Jon Atkins
5f6adf3846
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2014-03-07 19:31:15 +00:00