Jon Atkins
e793be9855
Merge branch 'master' into new-map-data
2013-08-28 00:50:58 +01:00
Jon Atkins
39faef2c4c
critical bugfix
...
- don't assume jquery is available when initially processing JS - setupIdle function added
- don't detect portals from a 'turret' entry - use 'portalV2' as the stock site does
- don't try to display the field MU counts when not in the data
2013-08-27 21:29:54 +01:00
Jon Atkins
571a17d84b
work-in-progress - committing to switch to other work
2013-08-27 21:04:28 +01:00
Jon Atkins
81d0cb0ed8
create function to get portal image URL from details - and perform any necessary default URL replacement and https conversion
2013-08-27 18:16:02 +01:00
Jon Atkins
563258a897
sort portal layers so they're above links/fields - but only when there's not that many
...
a lot of redrawing occurs when sorting portals - so only ordering when there's a low number keeps things reasonably fast
2013-08-27 16:31:45 +01:00
Jon Atkins
cae60c0843
bugfix in error retry counting
2013-08-27 05:53:59 +01:00
Jon Atkins
dc41671279
map data now handles refreshes itself. this is so it can ensure that it doesn't start the refresh timer until all requests are complete
...
this avoids the situation where map data requests are slow enough that requests get aborted before a complete refresh has been done
2013-08-27 05:42:59 +01:00
Jon Atkins
0302d76a67
portal detail zoom - don't step out for zoom <= 12 - seems to miss some data as we're displaying things larger than the server expects
...
also, add a new attempt to fix the portal zoom issue (Lundefined) that occurs on mobile sometimes
2013-08-27 03:45:37 +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
8984ff0285
possible fix for coordinate clamping on the right-hand-side of the map
2013-08-26 17:43:27 +01:00
Jon Atkins
7e3c310543
move map data debug tilers to a separate class
2013-08-26 15:51:16 +01:00
Jon Atkins
01a8dbf4be
more work on map data rendering rewrite
...
marker creation/style changing moved out of rendering code (to allow use from elsewhere, and possible overriding by plugins)
2013-08-26 15:19:21 +01:00
Jon Atkins
3c90960e4c
work-in-progress - checking in while looking at other code on master. may be broken
2013-08-25 17:50:28 +01:00
Jon Atkins
dff09ed0c1
work-in-progress on render rewrite...
2013-08-23 05:08:08 +01:00
Jon Atkins
91a75a0f2f
add in portal click support and highlighters to new code
2013-08-23 04:28:09 +01:00
Jon Atkins
07c28538fd
work in progress - first attempt to use new rendering code
...
lots of things currently broken though...
2013-08-22 22:32:31 +01:00
Jon Atkins
726c82afe9
more work-in-progress. general render class done. no resonators, yet, no render limits, and no attempt to call the code
2013-08-21 19:01:29 +01:00
Jon Atkins
f2582cfcac
work-in-progress on map data rewrite
2013-08-21 04:12:02 +01:00
Jon Atkins
fee3a73767
move map data tile cache code into it's own file and clase
2013-08-19 20:55:07 +01:00
Jon Atkins
3f1b8ba47f
increase refresh timeout considerably when zoomed out. this will reduce requests to the servers when lots of data is visible
...
also, with the new higher tile count when zoomed out (#491 ) it reduces the odds of a new refresh starting before the old ones have finished
2013-08-16 17:41:25 +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
Jon Atkins
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
fkloft
84b38bdd82
Always show "sign out" link in IITCm. (no hover on touch screen --> an accidental click would directly log you out)
2013-08-11 19:00:41 +02:00
Philipp Schaefer
855ad003a2
disable splash screen on JS error and HTTP response error code ( fixes #475 )
2013-08-10 17:35:17 +02:00
Jon Atkins
b9a4f91f39
tweaks to data tile fetching and cached tiles - should end up with fresher data when the niantic servers are struggling
2013-08-08 11:56:00 +01:00
Jon Atkins
a43bd3ef0c
fix resonator rendering on zoom after changing to avoid re-rendering unchanged data
...
this whole area of code could do with some restructuring really - this will do for now though...
2013-08-05 20:10:58 +01:00
Jon Atkins
3d7440b06a
add ent[1] - the data modification timestamp, to beforePortalReRender
...
alsoi include the previous timestamp
for #324
2013-08-05 14:16:49 +01:00
Jon Atkins
54ebbc3896
bump version nimber in preperation for next release
...
remove maxZoom leaflet setting - as it overrides individual map layer settings - fix #466
ensure map zoom is valid for selected base layer - replicate functionality removed from current leaflet
2013-08-04 07:17:14 +01:00
Inye
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
Jon Atkins
16e15dfb51
first attempt at geodesic circles - for #292 (alsao see #201 and #425 )
2013-08-02 07:21:04 +01:00
Jon Atkins
a96d562a94
add overall minZoom and maxZoom limits to the map
2013-07-31 21:56:16 +01:00
Jon Atkins
55036be913
fix game score for team name change
2013-07-31 20:26:03 +01:00
Jon Atkins
f5d8587955
update code for the new internal name for enlightened - was ALIENS, now ENLIGHTENED
2013-07-31 20:15:14 +01:00
Jon Atkins
0a5200b7fa
improve handling of deleted entities, and of constructed entities
...
fix #450
2013-07-31 19:19:47 +01:00
Jon Atkins
4caea29fd3
don't try and display an address when none is available
...
fix #454
2013-07-28 18:39:12 +01:00
Philipp Schaefer
1e03e60c15
some whitespace fixes
2013-07-27 11:25:58 +02:00
Philipp Schaefer
ab164cfde5
Merge branch 'intents' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft-intents
...
Conflicts:
mobile/res/values/strings.xml
2013-07-27 11:23:51 +02:00
fkloft
fa4d4c64f7
Pass title from JavaScript
2013-07-26 23:29:32 +02:00
Jon Atkins
e9ea00cd08
map data tile tweaks. tiles are put into buckets based on a simple tile count, rather than coordinates. should help things when re-requesting failed tiles when the others are cached - and possibly is closer behaviour to the stock intel page
2013-07-25 02:33:08 +01:00
Jon Atkins
5760f9b7a8
force rounding to integer the result of map.getZoom() when calculating the map data zoom
...
it's not something that sould happen, but it's been seen on mobile (#271 ) - this should eliminate the issues with portal data this causes
2013-07-25 02:03:41 +01:00
Philipp Schaefer
89846e1a77
get rid of WebRessourceResponse injecting (fix for #437 )
...
- added some kind of splash screen
2013-07-21 20:39:13 +02:00
fkloft
2b7ac5605b
Improved permalink/portal link
...
Now shows a dialog from which you can:
* share the permalink using the standard android share feature
* copy the link to the clipboard
* open the intel map link with an installed browser
* show the map with an installed map application (that supports geo: URIs)
2013-07-21 00:51:21 +02:00
Jon Atkins
1d46cd6b2b
portals don't always have field data - prevent exceptions in the code
2013-07-20 20:28:19 +01:00
Jon Atkins
c3576d566b
linkedEdges data for portals remains in some cases (when they decay?), so don't process the link data in this case
2013-07-20 20:27:24 +01:00
Jon Atkins
e321b06875
jquery update (i expect) broke $(window).on - $(document).on works instead
...
also changed guess player levels plugin from using jquery .delegate to .on - as the former is deprecated
2013-07-20 19:42:43 +01:00
Jon Atkins
dbc6ef18df
bump jquery versions in use, to match those already included on the stock intel site
...
(matching stock versions prevents multiple instances being loaded, which might cause issues and/or slow things down)
2013-07-19 22:42:57 +01:00
Jon Atkins
8b6defc2d4
make jquery include URLs protocol relative (i.e. without "https:") - this had been done before (and the comment was there), but got lost at some point
2013-07-19 22:21:23 +01:00
Jon Atkins
f232de3617
fill fields in with geodesic polygons, to match the changes made for links
2013-07-17 22:20:35 +01:00
Jon Atkins
89e2defc33
Merge branch 'master' of https://github.com/qnstie/ingress-intel-total-conversion into qnstie-master
2013-07-17 17:41:18 +01:00