151 Commits

Author SHA1 Message Date
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
Jon Atkins
7b44784c02 fix comment 2013-05-18 01:06:01 +01:00
Felix Kloft
e03899b96f Small bugfix
(one semicolon which causes one line of text to be ignored)
2013-05-13 17:11:43 +02:00
Jon Atkins
43254bb31c Merge branch 'statusbar' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-statusbar 2013-05-13 00:06:18 +01:00
Jon Atkins
9266283684 upgrade leaflet to the master version - taken 2013-05-12 - 3d3e2cd
should fix issues with layer control on mobile, and other improvements
also - the convention for marker filenames has changed from ...@2x.png to ...-2x.png for the double sized ones - so changed our files to match (we had a mix of ...@2x.png and ..._2x.png)
2013-05-12 17:18:58 +01:00
hastarin
a150d54dd7 Smaller status bar to suit mobile and further tweaked scale bar position for small mobile displays. 2013-05-12 14:14:58 +10:00
Jon Atkins
d1d1fa85ce Merge pull request #252 from Xelio/patch-hook-iitcLoaded
Add 'iitcLoaded' hook to notify that IITC and all plugins loaded.
2013-05-09 20:42:21 -07:00
Jon Atkins
3982c64b2f convert IITC-only cookies to use localStorage instead - otherwise they're sent to the ingress servers and are a clear indentifier of IITC use (and wasteful of data too)
fix #251
2013-05-10 04:40:21 +01:00
Jon Atkins
65783ac0b1 Merge branch 'dialog' of https://github.com/integ3r/ingress-intel-total-conversion into integ3r-dialog 2013-05-10 02:33:21 +01:00
Jon Atkins
6096640415 add correct version of the sample script 2013-05-10 00:08:14 +01:00
Jon Atkins
258aa70213 plugin booting - catch exceptions and log, rather than just crashing 2013-05-08 17:18:50 +01:00
Xelio
6cd3328389 Add 'iitcLoaded' hook to notify that IITC and all plugins loaded. 2013-05-08 20:47:41 +08:00
Morgan Jones
dfadadd296 IITC Dialog Overhaul, part 2
Core changes
* window_management.js => panes.js (clarity, distinction from dialogs)
* Make portal preview use dialogs instead of the large preview "window"
* Use `open' callback instead of `create' callback for all dialogs
* Replace collapse/close buttons with themed buttons inspired by the AP Gain plugin
* Dialogs can now gain and lose focus, with changing title bar
* Tweak the Poslinks window to use dialogs
* Add collapseCallback, expandCallback, collapseExpandCallback, focusCallback, and blurCallback
* Fix http <img> in About dialog that caused Chrome to complain

Plugin changes
* guess-player-level 0.4.1: Use dialogs with titles, typo fix
* portal-counts 0.0.8: Use dialogs with titles, typo fix
* portals-list 0.0.12: Don't hijack every single dialog onscreen, add titles, typo fix
* scoreboard 0.1.8: Use dialogs with titles
2013-05-08 03:39:36 -06:00
Morgan Jones
ce5eeaad67 Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog 2013-05-07 16:32:31 -06:00
Philipp Schaefer
e2f8c7c5cf enable portals, fields and links per default 2013-05-07 16:01:23 +02:00
Jon Benson
084494bec0 Zoom control is now only disabled on multitouch capable devices by default
and can be forced on again via a preference.
2013-05-07 17:22:07 +10:00
Jon Benson
dee32ea827 Hide zoom control on mobile version. 2013-05-07 15:59:26 +10:00
Morgan Jones
84f5499c18 * Window manager stuff. Multiple windows can be opened now. Still resolving bugs. 2013-05-06 17:09:39 -06:00
Jon Atkins
7248b17ea8 refresh improvements
- cancel existing refrest timer on start zoom/drag
- add a manual refresh option into the status box when idle
2013-05-06 23:08:44 +01:00
Morgan Jones
93c039e295 * Work toward multiple dialog boxes 2013-05-06 13:13:15 -06:00
Jon Atkins
30594359f0 Merge pull request #224 from Fragger/more-portal-link-fixes
More updates to url links to be compatible with stock intel map
2013-05-01 07:46:32 -07:00
Kevin
79af80d0c3 More updates to url links to be compatible with stock intel map 2013-04-30 22:33:07 -07:00
Xelio
47bc5fa1b2 Make use of layer control status function in main script
Layers display status now persist between session
2013-05-01 13:14:19 +08:00
Jon Atkins
308459178d improve refresh handling
- increase timeout on zoom/move end to 0.8 seconds
- prevent repeated refreshes faster than every 5 seconds
- delay initial refresh on load - should prevent immediate refresh after page load

fix #200
2013-05-01 01:57:02 +01:00
Xelio
2556a1ab8d Add function to store layer control status (overlay only) in cookie for using in next session. 2013-04-28 23:58:53 +08:00
Jon Atkins
be430acc7d increase zoom levels for google map layers to 20
add google terrain layer - max zoom possible here is 15
I did try experimenting with higher zoom for the MapQuest tiles. there was some success at 19, but not all tiles would load - reverted for now

alternative to merging #212
2013-04-27 16:45:42 +01:00
Jon Atkins
5eb7344895 increase maxZoom of google satellite/hybrid modes by two levels, so it matches max zoom of google maps 2013-04-21 02:13:52 +01:00
Jon Atkins
07a07b0e24 mapquest map tiles support for https access 2013-04-18 15:39:17 +01:00
Jon Atkins
5f4e0192a0 added MapQuest OSM tiles - these native tiles work much more smoothly than the Google tile layers, so are best for a default 2013-04-13 02:31:47 +01:00
Philipp Schaefer
d9ead0597f made osm-less layer chooser work again (fix for #152) 2013-04-12 23:25:32 +02:00
Stefan Breunig
934fa8242d remove broken cm api key (see #152 2013-04-12 19:00:19 +03:00