628 Commits

Author SHA1 Message Date
hastarin
3691402e4a Improved back handling in mobile app. Now more consistant with standard. 2013-05-25 11:58:35 +10:00
Philipp Schaefer
e7a296b2b3 removed wrong semicolon 2013-05-24 16:03:24 +02:00
hastarin
9ce25e7e57 Initial commit of a working Search View. 2013-05-24 15:52:25 +10: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
140c5c2cb9 re-do request bucket handling - instead of grouping up to four requests together, so large window sizes make more requests, group requests into max 4 blocks
I think this is closer to the stock intel site behaviour, and should vastly reduce requests, especially at high resolutions
2013-05-22 17:35:59 +01:00
Jon Atkins
4f8164ffd7 add direction arrows after compas direction 2013-05-21 05:36:15 +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
52bce7fa31 remove debug console.log, fix comment 2013-05-20 05:16:22 +01:00
Philipp Schaefer
ca51cfbb99 check for android interface before calling functions of it 2013-05-19 18:10:04 +02:00
Philipp Schaefer
6762914b19 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-05-19 17:15:16 +02:00
Philipp Schaefer
7f723cd559 first version of in-app layer chooser 2013-05-19 17:14:39 +02: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
9a30c13413 cache reverse lookups from player name to guid - this prevents the potentially slow iteration throughout localStorage for every lookup 2013-05-19 03:50:47 +01:00
Jon Atkins
ac9312d6f7 destroy and remove dialogs after they're closed - otherwise they remain in the DOM, hidden but there
fix #288
2013-05-18 18:02:13 +01:00
Xelio
b5381603b8 Bug fix: Resonators didn't redraw sometimes after level of portal hide and reshow
And some code simplification.
2013-05-18 17:27:46 +08:00
Xelio
07bf9b1299 Bug fix: Double removal of portalAccessIndicator cause exception when layer is hidden 2013-05-18 14:53:38 +08:00
Xelio
0c836ccfc2 Bug fix: selected portal should not remove when zooming/panning out of range 2013-05-18 14:52:43 +08:00
Jon Atkins
87a0a35f74 have seen a case of GUID type .2 - 'random portal' 2013-05-18 04:13:21 +01:00
Jon Atkins
7b44784c02 fix comment 2013-05-18 01:06:01 +01:00
Jon Atkins
ca76e7ed60 add the concept of portal detail level zoom, separate from map level zoom
this allows us to override the zoom used to retrieve server data, giving options to either retrieve lower zoom levels to reduce the number of requests, or higher zoom levels to retrieve lower level portals from the server
2013-05-17 23:45:14 +01:00
Jon Atkins
b24c7f5d32 work in progress - api for java app to interface with the layer chooser 2013-05-16 22:06:25 +01:00
Jon Atkins
746d4bdc2b possible fix for #271 'undefined' issue 2013-05-16 18:39:24 +01:00
Jon Atkins
73487d7e50 add bing maps link to "map links" dialog
the encoded_name no longer includes the space/brackets - so these are now added in the java app - which makes more sense anyway
unknown names (shouldn't happen) are now named 'unknown' rather than not specified
2013-05-14 22:35:12 +01:00
Jon Atkins
c344c8c857 Merge branch 'patch-bug-portal-render-limit' of https://github.com/Xelio/ingress-intel-total-conversion into Xelio-patch-bug-portal-render-limit 2013-05-14 04:35:31 +01:00
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
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
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
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
hastarin
cf5116d75c Reduced render limit on mobile. 2013-05-13 03:10:46 +10: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
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