1201 Commits

Author SHA1 Message Date
fkloft
e9b811036a Disable MapQuest tiles 2016-07-12 09:05:41 +02:00
Dave Ingram
41f8081831 Update URLs for new locations 2016-06-15 13:23:50 -07:00
Dave Ingram
f9ff49eb26 Merge pull request #977 from Meaglin/removeevents
Added "remove" events for portals/links/fields.
2016-06-13 14:25:06 -07:00
Dave Ingram
74cd764024 Merge pull request #1032 from stephninja/passcode-fix
Removes unprintable and non-ASCII characters from passcode
2016-06-13 14:21:23 -07:00
Jon Atkins
8f6f89a9f3 ancient change i forgot to push 2016-06-13 20:37:24 +01:00
Dave Ingram
ca33fe9ae6 Merge pull request #923 from Fragger/location-from-pll
Move map to pll param when no ll param found
2016-06-13 12:35:47 -07:00
Jon Atkins
b7361c0e05 update placeholder portals if the faction/location have changed 2015-11-11 07:40:45 +00:00
fkloft
d166d88263 another try, this time on JS side 2015-11-07 22:58:01 +01:00
fkloft
569120be9b allow multiple dialogs on mobile 2015-11-02 15:49:18 +01:00
Jon Atkins
db12b07540 fix #1068 - blank layer chooser on mobile 2015-10-23 22:50:12 +01:00
fkloft
3f0d924b6a [iitcm] push layer changes to Android instead of relying on MapSettings to poll them 2015-10-21 00:09:21 +02:00
Ssergni Smith
b00bb17748 Add hook for artifact details being updated 2015-10-15 15:06:14 -07:00
fkloft
99e6cc57ef sometimes a dialog's size was stuck after moving it around 2015-10-14 21:08:59 +02:00
fkloft
6ade4563b9 Enhancement for PR 2015-10-11 00:05:28 +02:00
fkloft
6d2f0c1e1e Merge remote-tracking branch 'tthiery/issue-1054-removeLayerGroup' 2015-10-11 00:01:04 +02:00
fkloft
d367cff8c5 Fix pull request 2015-10-10 23:56:46 +02:00
fkloft
a90d71335c Merge remote-tracking branch 'tthiery/issue-1053-removeHook' 2015-10-10 23:55:00 +02:00
T. Thiery
6c992c74fd Add removeLayerGroup
- removes a layer from the layerChooser
- store the currently selection state if added later.
2015-10-10 23:43:12 +02:00
T. Thiery
05a84c6630 Add removeHook method.
- Removes a previously attached hook.
- Must be the SAME function to unregister.
2015-10-10 23:38:05 +02:00
Michael Dever
c91e461a1e Fix grammer issue in #1012 2015-10-05 22:19:13 +01:00
Jon Atkins
6fd11aee16 fix detecting version string 2015-09-12 10:54:25 +01:00
stephninja
21a5690277 Removes unwanted characters from passcode
Sometimes copying passcodes from https://plus.google.com/communities/108599095839806789745 will contain an invisible character(s) at the end which causes it to be invalid. This patch will remove non printable characters from a passcode before submitting it to Ingress.

I've found the bytes 0xefbbbf sometimes appear which is a BOM character.
2015-08-06 10:57:57 +10:00
Jon Atkins
5c43225642 create placeholder portals from the field vertices
they should already be created from links, but it's handy to select anchors of ghost fields, and there's the odd edge case where the links were too short for some edges of a field
2015-07-26 08:12:14 +01:00
Jon Atkins
ed0cedfc81 placeholder portals - default style is thinner and dashed outline, to distinguish them from other low level portals
handy when panning around when portals are visible, as placeholders will still exist for links before data loading is complete
2015-07-20 09:34:03 +01:00
Jon Atkins
12f84721fa why bother going through the artifact layers to get the target data - it's already in the portal details!! 2015-07-10 08:14:56 +01:00
Jon Atkins
c859a144f9 artifact: niantic finally removed the old artifact API - we now have to use the far less useful new one
re-did the display of target/shard on the portal details - better like this I think
2015-07-10 07:51:28 +01:00
Jon Atkins
aca3799a6a ignore server-side faked links, that Niantic generate from the field data
they're not useful - and it would make more sense to do it client-side if there was a need for it
2015-07-07 22:51:05 +01:00
fkloft
c922ade636 Fix for portal search 2015-07-04 16:31:04 +02:00
Jon Atkins
aa0393c518 niantic updated stock intel to show unclaimed from zoom level 15 and closer - makes 'show more portals' redundant 2015-07-02 00:25:55 +01:00
Jon Atkins
282e184f56 fix warning/debug break on details passed to summary decode 2015-07-01 11:59:44 +01:00
Jon Atkins
570f7a0f9a plugin: cache recently loaded portal details and always render on the map 2015-06-29 19:02:11 +01:00
Jon Atkins
02ac86fc00 remove some long-dead code for portal titles - and fix it so a title:null doesn't break IITC 2015-06-29 17:09:56 +01:00
Jon Atkins
1fb27a75c4 pass loaded portal details via a hook into the portal render code - so placeholder portals get updated (highlighters, etc) as you view them 2015-06-29 02:51:13 +01:00
Jon Atkins
b51052ca0b remove 'show-more-portals' config case - not currently needed, so not messing with zoom level is more stock-like 2015-06-28 21:57:42 +01:00
Jon Atkins
e0e6fd5c48 don't remove portals by level when starting a render pass
- unclaimed are shown when we ask for L1
- helps preserve more data as you zoom out and links create 'placeholder' portals we already have more data for
2015-06-28 21:56:42 +01:00
Jon Atkins
8f1759d7c3 allow portal highlighters for placeholder portals - several (e.g. uniques) work just fine
fix several other highlighters to check for required data on portals
2015-06-28 21:49:02 +01:00
Jon Atkins
00b546cb98 placeholder portals created from link ends
surprisingly few issues, but i'm sure quite a few plugins break badly
2015-06-28 19:14:17 +01:00
Jon Atkins
701f09db58 start of work on placeholder portals from link data
not yet working...
2015-06-27 05:44:54 +01:00
Jon Atkins
f3190731d6 remove the 'hack' that ignored portals below the selected level limit - not needed now Niantic have fixed the mission portal issue
increase the number of items rendered in the render queue batches - should make IITC render a bit faster, especially now that the portals have gone and instead there's a fair amount of duplicate data from links/fields across multiple data tiles
2015-06-27 01:29:06 +01:00
Jon Atkins
5da190862e niantic brought back the 'no portals, link length limits' for zooms up to 15 again....
also, better warning when failing to extract tile parameters from stock - as if this fails it's probably because the values have changed and IITC will break
2015-06-26 23:11:19 +01:00
Jon Atkins
6718e0d777 revert the hacky 'level 9999' thing - it hid that Niantic reverted the changes
remove the link distance thing - no longer needed
2015-06-26 02:24:56 +01:00
Jon Atkins
40b92235ea remove portals from the map sooner when the server wouldn't return them
bit hacky... but will do for now until I think of a good way of handling things with the recent changes
2015-06-26 02:15:09 +01:00
Jon Atkins
9c487a3001 and yet another update to the fallback defaults....
maybe Niantic should have load-tested the best values in dev before releasing into production, rather than repeatedly changing it so many times?
or at least made it completely controlled by server-side code, so no client updates needed for every experimental change...
2015-06-26 02:13:53 +01:00
Jon Atkins
bb29578c78 more updates chasing reprated Niantic updates
debug function to dump out the details of each zoom level tile parameters
change tile params 'noPortals' to 'hasPortals'
2015-06-25 23:05:04 +01:00
Jon Atkins
38870aba63 more niantic tweaks to tile params, so defaults updated
also fix status bar bug introduced in previous commit
2015-06-25 22:22:49 +01:00
Jon Atkins
9ba440f70d move the minLinkLength stuff into map_data_calc_tools.js - makes more sense there, and ready to be used elsewhere if needed 2015-06-25 21:46:28 +01:00
Jon Atkins
58a512823f quick-n-dirty display of min link length instead of portal level for zoom levels <= 14
fix detection of tiles per edge params - array was shorter than before
2015-06-25 20:31:00 +01:00
Jon Atkins
42d5eb4e2f fix for fallback tile sizes - auto-detection broke
will get things working for now...
2015-06-25 20:05:53 +01:00
fkloft
3396cc7a27 Set title in genFourColumnTable 2015-06-23 20:05:35 +02:00
fkloft
a7387e3f4b Support for ULTRA_LINK_AMPs 2015-06-23 20:05:35 +02:00