Comments (12)
I do not confirm. I need the same time to search for coordinates, as in the release version
from ingress-intel-total-conversion.
Well, I've seen the same behaviour on two phones.
I've found that it depends on 'Display user location on map' option.
If it is off then after button press the map actually moves to current location, but there is side effect: zoom set to max (21).
If it is on then I cannot see any action on button press.
from ingress-intel-total-conversion.
Oh, I see what you mean. Marker coordinates as long sought as before, but the button, Yes, broke
E/iitcm-console: <script/total-conversion-build.user.js>:2781: Uncaught Error: Invalid LatLng object: (50.38889695156461, NaN)
from ingress-intel-total-conversion.
As for marker, set map to Google, and zoom >=16.
I see strange circle over user location marker.
from ingress-intel-total-conversion.
Thanks, button now works again.
Circle is not 'strange' now, just transparent. But previously it looked differently (not sure, may be there was gradient). So question: is this change intended?
Update: obviously intended e3ddc61.
from ingress-intel-total-conversion.
And also I mentioned other strange thing, not related to recent changes.
Zoom changes when using location button, but target zoom value is not consistent and depends on option Display user location on map
:
on
: 17off
: 21 (!!)
Actually, this is not related to recent updates, the same behavior I see in 'official' app.
When Use Canvas rendering
is on
zoom is 17/21.
When Use Canvas rendering
is off
zoom is 17/19.
So questions:
- Why it depends on canvas rendering? Probably bug.
- Why it depends on
Display user location on map
? May be intended, but I do not understand the goal.
from ingress-intel-total-conversion.
So question: is this change intended?
Yes, there was a gradient, made the circle more flat in the style of Ingress Prime and Google Maps.
2\. Why it depends on `Display user location on map`?
It's not a bug, it's a feature =)
1. Why it depends on canvas rendering? Probably bug.
And here I can not say. Probably a bug
from ingress-intel-total-conversion.
It's not a bug, it's a feature =)
I can't understand it from code.
Could you explain?
I see that there are two different actions depending on mUserLocation state.
But I do not see why zoom value should be different in both cases.
from ingress-intel-total-conversion.
To reduce the options, we assume that Persistent zoom level is disabled.
If the Display user location on map
is turned off, pressing the button does not have time to find GPS and positioning on networks is used. Zooming is carried out by using Leaflet:
window.map.locate({setView : true
If true, automatically sets the map view to the user location with respect to detection accuracy, or to world view if geolocation failed.
https://leafletjs.com/reference-1.3.4.html#locate-options-setview
If the Display user location on map
is turned on,
calls the method
which calls a javascript function
ingress-intel-total-conversion/mobile/plugins/user-location.user.js
Lines 81 to 109 in e3ddc61
here, depending on the accuracy of the location, the zoom value is calculated:
ingress-intel-total-conversion/mobile/plugins/user-location.user.js
Lines 94 to 96 in e3ddc61
and in the case of the exact location not to zoom in too much, the zoom is limited to a value of 17:
I guess you meant not as much detail but it will help you and others better understand how it all works =)
from ingress-intel-total-conversion.
Zooming is carried out by using Leaflet:
So in canvas mode Leaflet behaves differently (21>19).
Do you think this zoom/accuracy math is really useful?
(For me, it would be better just activate persistent zoom option)
from ingress-intel-total-conversion.
Probably doesn't matter to me. But if such a function has been added, maybe there are those who are more comfortable? Interesting to know
from ingress-intel-total-conversion.
Ok then. Thanks.
from ingress-intel-total-conversion.
Related Issues (20)
- Machina Tools
- (Plugin-Ingress scoring regions) Region-name search results show wrong sub-cell HOT 2
- Remove custom plugins from IITC Mobile HOT 1
- Apple TestFlight version expired HOT 1
- Alphabetical sorting of all plugin links under the portal details panel HOT 3
- Hide portal levels plugin : Layers not related to portal levels are also included in the target.
- Bookmarks not showing HOT 6
- Access blocked: authorisation error [Sync Error] HOT 8
- Mobile: Login with "fake user agent" switches to Desktop mode
- console warning is spamming HOT 2
- Gaode Map tiles is broken HOT 2
- Wrong region naming (and probably indexing) in the AS face HOT 2
- Pixel 8 Pro Not Working At All
- Migrate Stamen map tiles to Stadia HOT 1
- `Permalink` and `Portal link` are different than stock intel HOT 3
- Update Portal Count plugin to include History info
- Cell Score Names Wrong on Map HOT 1
- Login issues HOT 11
- [Not Working] - "Privacy view on intel" Offical Plugin
- Draw Tools update from 0.10.1 to 0.10.2 - menu is lost HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ingress-intel-total-conversion.