Jon Atkins
f43930768b
experimental code: try/catch block around code in boot - to help debug iitc startup issues
2013-12-23 21:16:59 +00:00
Jon Atkins
138a37d777
first attempt at loading portal details, and displaying in the sidebar once loaded
2013-12-01 00:08:25 +00:00
Jon Atkins
e935902c49
misc fixes - some untested
...
- no GUIDs in chat for players or portal details - so remove player GUID related functions
- remove player guid code from COMM
- update portal_info functions to compare to player name rather than guid
2013-11-30 23:19:46 +00:00
Mike Castle
6fcbd90588
s/mazZoom/maxZoom/
2013-11-24 23:16:53 -08:00
Jon Atkins
9d16b03632
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2013-11-24 21:18:17 +00:00
Jon Atkins
01cfda1077
bumpped jquery + jqueryui versions.
...
now the stock intel site no longer includes any version of these there are no advantages to non-current releases
2013-11-24 21:17:10 +00:00
Mike Castle
4a9b13eade
Spell checking, s-z, plus a couple of missed ones.
2013-11-24 00:19:25 -08:00
Mike Castle
a4a90c9fd1
Merge remote-tracking branch 'upstream/master' into to-push
2013-11-22 23:42:13 -08:00
Mike Castle
27bb6f058e
Spell checking, d-g.
2013-11-22 23:31:05 -08:00
Jon Atkins
85255f476b
basemap cleanups
...
- updated Google, Bing and Yandex externals from https://github.com/shramov/leaflet-plugins
- also renamed Google file, removed internal hacks for INGRESS map type
- used external included file for Bing maps, instead of embedded in the plugin
- used Google map tile API to set the options for the INGRESS and 'Google Grey' map layers
2013-11-22 20:46:03 +00:00
Jon Atkins
6b5571b18a
artifact display: initial checkin
...
display artifacts (jarvis shards, jarvis targets) on the map
TODO: add details to the portal info display
2013-11-07 03:51:20 +00:00
Philipp Schaefer
38446594db
renamed splashScreen method
2013-09-24 01:05:26 +02:00
Jon Atkins
37131aaf8e
move player name cache from localStorage to sessionStorage
...
this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
2013-09-16 22:22:19 +01:00
Jon Atkins
9b3caa8eb9
add function to start 'idle' mode - for use in the mobile app (rather than it forcing the idle timer)
...
the existing idle resume function can be used on returning to iitc
also, fix the long-standing bug on mobile where the map disappears after repeated touch panning/zooming. seems leaflet gets confused about zoom levels and ends up with a non-ingeger. when this is found, force it back to an ingeger zoom level when this happens
2013-09-16 00:01:25 +01:00
Jon Atkins
f646f481fc
use 'overlayadd/remove' instead of 'layeradd/remove' events. in theory should be more efficient as layeradd/remove gets called for every single portal/link/field/etc on the map
2013-09-13 23:12:49 +01:00
Xelio
7ce064399a
Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed.
2013-09-13 21:50:29 +08:00
Jon Atkins
74cc365e9a
faction layers - add/remove fields and links before portals - this way portals tend to remain above links/fields when things are toggled
2013-09-12 04:56:31 +01:00
Jon Atkins
f68153e1f5
add faction layer choosers
...
fix #536
2013-09-12 04:04:49 +01:00
Jon Atkins
ac6a235564
first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups
...
also, move load.js from directly embedded in boot.js into an external file
2013-09-12 03:07:25 +01:00
Jon Atkins
9ee9380a2c
Merge pull request #480 from fkloft/signout
...
Always show "sign out" link in IITCm.
2013-09-09 23:43:44 -07:00
Jon Atkins
7659cf4b84
slight improvement around the antimeridian - wrap the map centre so it's always between +-180 degrees
...
also limit north/south to 85 degrees, to avoid leaving the active map area
2013-09-05 23:12:18 +01:00
Jon Atkins
687162337c
rename the 'default ingress map' to include 'Google' prefix, to make it clear it's a google map. should help troubleshooting relating to map layers, making it clear which are/aren't google ones
2013-09-03 01:56:03 +01:00
Jon Atkins
13d247019c
re-write map initial position setting. before, if the initial zoom was invalid for the selected layer, things would get stuck in an odd way
2013-08-30 06:54:22 +01:00
Jon Atkins
96d3e1ded7
improved request queue handling
2013-08-28 19:34:21 +01:00
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
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
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
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
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
Jon Atkins
a96d562a94
add overall minZoom and maxZoom limits to the map
2013-07-31 21:56:16 +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
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
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
89e2defc33
Merge branch 'master' of https://github.com/qnstie/ingress-intel-total-conversion into qnstie-master
2013-07-17 17:41:18 +01:00
qnstie
9f0d8807df
Added L.Geodesic.js library to the build
2013-07-17 13:42:30 +02:00
Gabriel Sjöberg
9cf2dd391e
Add cover photo submitter, cover photo votes, and portal details to large portal display dialog.
2013-07-09 17:03:19 -05:00
Jon Atkins
0b75b49b98
change the callback from resuming from idle, so it starts a short refresh timeout as if the map had just moved
...
this way, if you switch back to IITC, then quickly move/zoom (as often is done), unnecessary network requests are avoided
because of the change, there's no need for chat to have it's own resume hook - it already hooks into the refresh code and this is now triggered quickly
2013-06-15 23:29:16 +01:00
Jon Atkins
0dc148dc9e
add an empty div to the leaflet control areas, approximately matching the chat panel area
...
this will allow leaflet controls placed bottomleft to appear above the chat bar
2013-06-10 22:25:59 +01:00
Philipp Schaefer
bb7f200547
use in-app layer chooser on desktop mode
2013-05-29 00:57:38 +02:00
Jon Atkins
b0675e5852
simplify and cleanup large portal image dialog
...
- nicely centered. few tricky css hacks
- minumum width - ready for additional content below the image
- fix & in portal titles from showing as & sequence, etc
2013-05-28 02:01:41 +01:00
Philipp Schaefer
5cc27b70d9
removed forgotten setupBackButton function call
2013-05-25 12:26:53 +02:00
Philipp Schaefer
6e6249f903
* removed JS backstack (not needed anymore)
...
* removed JSInterface exit method
2013-05-25 12:24:59 +02:00
Jon Atkins
6788e676ea
remove now redundant commented out map layers - OSM tiles are now in a plugin
2013-05-23 05:50:44 +01:00
Jon Atkins
a525fb5144
use the baselayerchange event parameter instead of testing to see if a layer is added to the map
2013-05-20 05:17:11 +01:00
Jon Atkins
7b574b9ea1
remove restrictions on zoom in getPosition. instead, after a defaault base layer is set, use setZoom(getZoom) to ensure zoom level is valid for this base map
2013-05-19 16:07:10 +01:00
Jon Atkins
653a6cc82d
rewrite default base map layer handling. it remembers by name, rather than id (so will work if order changes), and also works if plugins add additional base layers
2013-05-19 15:29:36 +01:00