Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Cellular: Map without Location Services #65

Open
Timorttr opened this issue Dec 25, 2024 · 3 comments
Open

Map Cellular: Map without Location Services #65

Timorttr opened this issue Dec 25, 2024 · 3 comments

Comments

@Timorttr
Copy link

Would it be possible for the Cellular map to jump to the current CellId when the localization service is deactivated?
GNSS is deactivated, but jump to the cell tower on the map anyway.
Cell tower in the center of the map.

@christianrowlands
Copy link
Owner

That is a good idea. I had not thought of that. I will see how much effort is involved to make that change.

@christianrowlands
Copy link
Owner

I might be misunderstanding this one a bit @Timorttr . I took a stab at implementing this, but as I was doing it I realized that I can't get the current serving cell without having location services enabled. The reason Android takes this approach is that knowing the serving cell means an app can figure out your rough location, which is a privacy concern. Therefore, to get the current serving cell, location services have to be enabled.

In short, if location services are disabled by the user then I can't get any information, including the serving cell, which prevents me from being able to center the map on the cell tower.

Am I missing something with another use case?

@christianrowlands
Copy link
Owner

One thing I could do is store the last viewed location, so that way the next time the map is opened, I could zoom to that location. Is that of interest to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants