iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
989 stars 552 forks source link

[Question] Understanding how iitc aquires Data in Local Storage #1167

Closed MTRNord closed 7 years ago

MTRNord commented 7 years ago

I am trying to set ingress.intelmap.layergroupdisplayed with the value:

{
"Unclaimed/Placeholder Portals":false,
"Level 1 Portals":true,"Level 2 Portals":true,
"Level 3 Portals":true,"Level 4 Portals":true,
"Level 5 Portals":true,"Level 6 Portals":true,
"Level 7 Portals":true,"Level 8 Portals":true,
"Fields":true,
"Links":true,
"Resistance":true,
"Enlightened":true,
"DEBUG Data Tiles":false,
"Artifacts":true,
"Ornaments":true,
"Player Tracker Resistance":true,
"Drawn Items":true,
"Cross Links":true
}

and after that I load IITC into the ingress Page. My Problem is "Unclaimed/Placeholder Portals" are still shown. But If I set fields to false they aren't shown. Am I missing something here? PS: I am using Phantomjs so reload is no Option but on PC that fixes it.

nhamer commented 7 years ago

I don't know where you got the "Unclaimed/Placeholder Portals" member - the value IITC reads/uses is simply "Unclaimed" (@744 in the current release), so you're just setting something it doesn't read

MTRNord commented 7 years ago

Ah ok. I got that from ingress-ice :) thaks for info.

MTRNord commented 7 years ago

That also does not hide the portals if it is set to false.

nhamer commented 7 years ago

"Unclaimed Portals":false

On Wed, Jan 11, 2017 at 12:04 PM, Marcel notifications@github.com wrote:

That also does not hide the portals if it is set to false.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iitc-project/ingress-intel-total-conversion/issues/1167#issuecomment-271978550, or mute the thread https://github.com/notifications/unsubscribe-auth/AXzED7NO16XlF-_OovVorsimFSEQWpyyks5rRTXCgaJpZM4LYbES .

MTRNord commented 7 years ago

that also still shows them at zoom level 18. I will try on desktop. maybe it is a issue with phantomjs

MTRNord commented 7 years ago

Ah my fresh install (nightly) says "Unclaimed/Placeholder Portals" :/ thats the generated string by iitc on first run

MTRNord commented 7 years ago

If i set that to false in the local storage at my desktop pc iitc hides them.

MTRNord commented 7 years ago

ok maybe i got initialy a problem. now it works :)

nhamer commented 7 years ago

This changed in commit 8f6f89a - just the first official build since then, on Jan 8th :)

On Wed, Jan 11, 2017 at 12:45 PM, Marcel notifications@github.com wrote:

ok maybe i got initialy a problem. now it works :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iitc-project/ingress-intel-total-conversion/issues/1167#issuecomment-271988801, or mute the thread https://github.com/notifications/unsubscribe-auth/AXzEDw-fA6WJgEZkSjoUEstN7IumTlw6ks5rRT-GgaJpZM4LYbES .