1458 Commits

Author SHA1 Message Date
Xelio
3980a19e46 Bug fix in portal render limit handler and add function to clean up left over portals which should be removed after minimum display portal level rise. 2013-05-14 00:26:26 +08:00
Jon Atkins
ee589721e6 i'd been given a list of all guid type codes from the ingress android app - so update the comments to list them all 2013-05-13 05:26:42 +01:00
Jon Atkins
70a4ca804f some z-index fixes - makes tooltips (e.g. guess player level) actually appear on top of the chat panel rather than underneath 2013-05-13 05:03:55 +01:00
Jon Atkins
9ff9671def scale bar - reduce the width on mobile 2013-05-13 04:57:51 +01:00
Jon Atkins
94fbf5ba08 fix enabling/disabling of layer chooser portal levels so it works correctly - was broken at L8 2013-05-13 04:12:02 +01:00
Jon Atkins
66e6502d50 minor status bar tweaks
- make L8 not show L8+
- add a little margin between the level info and the map status - may need reducing a little for mobile
- indentation fixes, minor cleanups
2013-05-13 01:28:38 +01:00
Jon Atkins
e4ad933bb2 clamp bounds used for map data requests. no point in trying to request data outside +-90, +-180 coordinates, as it's pointless, and the server returns an error code anyway 2013-05-13 01:11:28 +01:00
Jon Atkins
339c7ec21e add utility functions to clamp latitude to +-90.0, and longitude to +-180.0 2013-05-13 01:10:18 +01:00
Jon Atkins
a3b957c967 zoom level 0 isn't impossible - so make it display L8 only portals, like the next few closer zoom levels 2013-05-13 00:38:24 +01: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
c713caa36b Merge pull request #270 from hastarin/mobileRenderLimit
Reduced render limit on mobile.
2013-05-12 14:58:57 -07:00
Jon Atkins
22aaa10ed8 bump draw tools version number, due to the major leaflet.draw upgrade 2013-05-12 18:59:37 +01:00
Jon Atkins
d1ef19784f fix draw tools. the leaflet upgrade broke it, so the leaflet.draw needed updating too
some of the hacks to do snap-to on points have been removed, at least for now - they needed major rework to fit in
additionally other customisations added are also removed - this is basically now stock leaflet.draw with edit-mode enabled
2013-05-12 18:54:03 +01:00
hastarin
cf5116d75c Reduced render limit on mobile. 2013-05-13 03:10:46 +10:00
Jon Atkins
7ed03d12b2 update layer chooser styling on mobile
- remove size increase for layer chooser - it's large enough already (and matches the size of other android UI elements)
- remove extra padding between layer chooser lines. yes, it'll be harder to click the right line, but smaller screens have it pushed off the bottom sometimes without this)
2013-05-12 17:26:42 +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
11069d5f8e Added some help popups. 2013-05-12 14:26:57 +10: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
Philipp Schaefer
cb66801d9f Merge pull request #266 from integ3r/dialog
Dialog fixups: Mobile
2013-05-11 16:10:31 -07:00
Morgan Jones
59fce850c8 * Code style tweaks 2013-05-11 16:43:57 -06:00
Morgan Jones
99bbcbcb30 * Fix bug that would cause modal dialogs to not show up (modal dialogs aren't draggables)
* Fix issue that broke portal poslinks on mobile
2013-05-11 16:34:41 -06:00
Philipp Schaefer
96add49516 notify android when select spinner is opened/closed (fix for #255) 2013-05-11 14:41:15 +02:00
Jon Atkins
76aeafbfa5 Merge pull request #262 from integ3r/dialog
Dialog fixup: Careless swap of collapse and expand callbacks
2013-05-10 20:56:10 -07:00
Morgan Jones
553ecdc61e Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog 2013-05-10 21:45:34 -06:00
Morgan Jones
9756bac253 * Fixup: Carelessly swapped collapse and expand callbacks 2013-05-10 21:44:53 -06: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
35397c0c35 escape strings passed as parameters to function call showPortalPosLinks
fix #259
2013-05-10 03:45:40 +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
cd7a104dcb add a sample plugin that restores the old-style cloudmade.com map layers
requires the user to get their own API key from cloudmade.com first. no pages reference this yet
2013-05-10 00:06:16 +01:00
Morgan Jones
b59a2c96db * Reduce padding for dialog buttons 2013-05-09 11:41:16 -06:00
Philipp Schaefer
e716dfcef2 let window.show(...) interupt input mode 2013-05-09 14:38:45 +02:00
Philipp Schaefer
2e50b4fedd handle edit-text events correctly 2013-05-09 13:20:38 +02:00
Morgan Jones
305aba3a64 * Remove the IITC About dialog's close callback, since it was resizing all other dialogs on screen 2013-05-09 01:44:10 -06:00
Morgan Jones
20ef7acda5 * Fix condition that would rarely cause dialogs to not open properly (dialog wasn't getting destroyed before being replaced) 2013-05-09 01:39:19 -06:00
Morgan Jones
4b39567e29 * Default dialogs to an empty title
* Fix bug that would cause some singleton dialogs to open several times
* Comment fix
2013-05-09 01:29:48 -06:00
Jon Atkins
77010fc8ed Merge pull request #256 from rbino/plugin-players-resonators
Plugin players resonators: updates
2013-05-08 20:39:13 -07:00
Riccardo Binetti
297005bb1e Added reso counter and reso details (BJT) 2013-05-09 03:05:59 +02:00
Riccardo Binetti
0b42c52dfd Added portal counter 2013-05-09 02:31:58 +02:00
Jon Atkins
41510dffcd bump version in preperation for next release 2013-05-08 22:47:30 +01:00
Jon Atkins
f9539ac7dc increase refresh delay after move/zoom events, to further reduce redundant refresh cycles 2013-05-08 22:20:44 +01:00
Jon Atkins
7cbf9d77cd change neutral portal colour to match the grey of the stock map - never was a fan of the yellow 2013-05-08 21:59:33 +01:00
Jon Atkins
3523abf032 Merge branch 'layerChooser' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-layerChooser 2013-05-08 21:39:29 +01:00
Jon Atkins
684e6c10ee Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-05-08 17:19:26 +01:00
Jon Atkins
258aa70213 plugin booting - catch exceptions and log, rather than just crashing 2013-05-08 17:18:50 +01:00
Philipp Schaefer
d40323fa99 removed privacy-view from mobile assets. it does not work and is not needed on mobile 2013-05-08 18:18:37 +02:00
Philipp Schaefer
832c61f442 added action bar home button to settings...made toggle fullscreen an method of main activity 2013-05-08 18:10:48 +02:00
hastarin
593ec57633 Set maxZoom = 13 for desktop locate button too. 2013-05-09 01:55:36 +10:00
hastarin
c630277c25 More tweaks to mobile layout.
Known issues:
    - A touch is generating two clicks.  Most noticeable with pan plugin.
    - The pan plugin requires the +/- zoom buttons be enabled.
2013-05-09 01:48:59 +10:00