Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ There are some Sailfish OS-specific GeoClue provider plugins which provide posit
The code related to the location and positioning stack can be found in the following repositories:

- geoclue-provider-hybris, the main GeoClue provider plugin, using libhybris interfaces to control the GPS: <https://github.com/mer-hybris/geoclue-providers-hybris>
- geoclue-provider-mlsdb, a secondary GeoClue provider plugin, using Mozilla Location Service to provide assisted-GPS position updates: <https://github.com/mer-hybris/geoclue-providers-mlsdb>
- geoclue-provider-mlsdb, a secondary GeoClue provider plugin. Was earlier using now-defunct Mozilla Location Services to provide assisted-GPS position updates. Nowadays it's using API-compatible [beaconDB](https://beacondb.net/) service. Code available at: <https://github.com/mer-hybris/geoclue-providers-mlsdb>
- connman-plugin-jollagps, exposing GPS power state to connman: <https://github.com/sailfishos/connman/blob/master/connman/plugins/jolla-gps.c>
- Proprietary positioning plugins (e.g. for HERE) also exist but are not open-source.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Cellular positioning is a part of the [Cellular Telephony Architecture](/Referen

Geoclue is the component that provides location services offering a D-Bus interface for location aware applications. Geoclue supports multiple technologies and methods for finding the current location. The technology support is implemented as a provider and new providers can be added via a plugin mechanism.

### Mozilla Location Service Provider
### BeaconDB Location Provider

Sailfish OS includes a Geoclue provider which uses oFono to fetch MCC, MNC, LAC, CID and SS (Mobile Country Code, Mobile Network Code, Location Area Code, Cell Id and Signal Strength) information about nearby cell towers, and uses that information along with public-domain information sourced from the [Mozilla Location Service](https://location.services.mozilla.com/downloads) to determine approximate device location. It also has an online mode whereby it can perform API requests to the Mozilla Location Service webservers, to get more accurate positioning information, by including information about nearby wireless networks.
Sailfish OS includes a Geoclue provider which uses oFono to fetch MCC, MNC, LAC, CID and SS (Mobile Country Code, Mobile Network Code, Location Area Code, Cell Id and Signal Strength) information about nearby cell towers, and uses that information along with available WLAN networks to make online location requests to the [BeaconDB](https://beacondb.net/) service to determine approximate device location. The BeaconDB service is based on the now-defunct Mozilla Location Service API.

The source code for that plugin can be found [here](https://github.com/mer-hybris/geoclue-providers-mlsdb).

Expand Down
Binary file not shown.
23 changes: 2 additions & 21 deletions Support/Help_Articles/Maps_and_Location_service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ Switch L1 [(see Pic 1)](#picture_1) dictates if the location service runs on you
* **L2 is the option to ensure the best speed and accuracy** in getting the location of the device. **We recommend using this option**.
* L3 helps to save battery power by turning the GNSS service ("GPS") off. However, it may take long to get the location by using the online services.
* L4 is to save data costs by not using the online services. The location is calculated by using the GNSS data only. It may take time to do it.
* L5 is the switch to the advanced settings ([Pic 2](#picture_2)). Enable L5 and tap the button "Select custom settings" [^3].
* L5 is the switch to the advanced settings. Enable L5 and tap the button "Select custom settings" [^3].

The purpose of the advanced settings is to select the used services with more precise granularity.
* A1 means "GNSS only" if used alone. This corresponds to L4. A1 can be complemented with A2 and A3.
* A2 relies the offline Mozilla location services [^3]. It could be combined to A1 or used alone.
* A3 enables using the online Mozilla location services [^3]. A3 is bundled with A2 (for an unknown reason).
The purpose of the advanced settings is to select the used services with more precise granularity. The available options might depend on the device, but generally there should be available options for general GPS, AGPS and the [BeaconDb](https://beacondb.net/) service.


<div class="flex-images" markdown="1">
Expand All @@ -38,25 +35,9 @@ The purpose of the advanced settings is to select the used services with more pr
<span class="md_figcaption">
Pic 1: Basic location settings
</span>
* <a href="Location_advanced_settings.png" name="picture_2"><img src="Location_advanced_settings.png" alt="Advanced location settings"></a>
<span class="md_figcaption">
Pic 2: Advanced location settings
</span>
</div>


## Assistance

Jolla Store has some assisting data sets that one can download and install on the phone. They make the calculation of location faster. The following data sets are available:
* Positioning - Australia
* Positioning - India
* Positioning - Eastern Europe
* Positioning - Northern Europe
* Positioning - Southern Europe
* Positioning - Western Europe

You get the benefit of these data sets by choosing option L2.

# Map apps

Sailfish OS devices are run both native Sailfish map apps and Android apps. [Jolla Store](/Support/Help_Articles/Jolla_Store/) has some native apps and the [Open Repos](https://openrepos.net/category/city-guides-maps) distribution some more. Android stores have a good variety of Android map apps.
Expand Down
Loading