140 Commits

Author SHA1 Message Date
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
Kevin
f2df5643f9 Adds an optional callback function to alerts when being closed 2013-04-10 05:33:43 -07:00
Jon Atkins
baaaf3e3f1 remove unnecessary absolute URLs. site-relative are used where possible (e.g. permalinks, rpc calls) - and a couple of protocol-relative one for automatic http/https matching 2013-04-08 05:09:01 +01:00
Jon Atkins
270905c83a enable zoom control for mobile (allows for one-touch zoom control)
move zoom control to under the layer control on smartphone layout
remove localstorage zoom control visibility setting - there was no way to configure it, so seemed a bit odd
2013-03-30 20:01:36 +00:00
Fragger
0113c0b981 Remove resources from main that are now in the player tracker plugin 2013-03-25 13:14:34 -07:00
Kevin
953a50d0a9 Build in default marker icon images 2013-03-24 23:46:17 -07:00
Fragger
5474b893a6 Add in base64 image encoding to build system and move images over to use it 2013-03-23 10:31:06 -07:00
Jon Atkins
4ce0da5056 large chunk of work towards a nicer build system
- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
2013-03-19 22:39:16 +00:00
Jon Atkins
38f22989d6 fixed URL to new dist image folder 2013-03-16 20:07:27 +00:00
Jon Atkins
92a8bc3dfd update URLs to point to my github page + dist server 2013-03-16 19:43:18 +00:00
Stefan Breunig
518467617e Instead of determining the height of the sidebar and fixing it to
that, this patch uses the CSS pointer-events directive to make the
area between the side bar and the map status usable. This should
avoid cutting off the sidebar and force users to scroll even if
there is space available but still allow to interact with that area.
Please report if there are any problems with this.

fix #467, fix #461
2013-03-14 12:56:39 +01:00
Richard Bradshaw
7d2333e504 Update boot.js
Added retina support.
2013-03-10 18:45:26 +00:00