1190 Commits

Author SHA1 Message Date
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
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
Jon Atkins
bd13278ec0 add comments concerning artifact changes - will double check once the flaky niantic update sorts itself out 2015-06-13 10:20:16 +01:00
Jon Atkins
34d13f6559 tweaks for latest niantic update
iitc detects the correct map params anyway, but warns when fallback values are different
also, new data in portal entities - unknown12 (only seen 'null') and index 13 (portal timestamp)
the timestamp is also in the portal details, so this will be handy
2015-06-11 22:35:57 +01:00
Jon Atkins
44162172a9 artifact details are now returned in the selected portal details - parse them
[not yet used anywhere though...]
2015-05-29 05:35:08 +01:00
Jon Atkins
238bef037b fix for niantic site update 2015-05-27 - botguard has been removed! 2015-05-27 07:08:43 +01:00
Jon Atkins
f4f656dcd2 artifacts: comment concerning the new API added to stock intel. not yet used by stock as far as I can tell, and the existing API still exists and is used... 2015-05-22 01:49:01 +01:00
Jon Atkins
aad6f3cd70 add callback to create point features for search results - the default leaflet icon won't work (and would be the wrong colour anyway)
fix #998
2015-05-14 16:41:18 +01:00
Jon Atkins
5b5c6d5947 ensure there's a delay after an empty response from the server
also, shorten error delays from 10 seconds to 5 - no need to be that slow...
2015-05-14 16:32:48 +01:00
Jon Atkins
2fce62117c restopre 'show more portals', but at one level of zoom boost instead of two 2015-05-06 18:28:08 +01:00
Jon Atkins
bb5d263a73 allow max zoom of 21 - two portals 18cm apart only show at z=21 2015-05-06 17:08:20 +01:00