{{ :manual:user_guide:ic_map_download_alt.png?nolink|}}====== Online Maps Download ======
----
The majority of provided online maps can be downloaded for **offline use** (all except the red ones in the list). Downloaded maps are stored in **[[manual:user_guide:maps_offline|Offline tab]]** of the **[[manual:user_guide:maps_mmanager|Map manager]]**.
===== How to start downloading =====
* tap {{:manual:user_guide:ic_map_download_alt.png?nolink&30|}} **Download** in the **Action menu** of an online map in the list. \\ {{ :manual:user_guide:mapdownload7.png?nolink |}}\\ The **download dialog** offers following options:
* **This screen** - a simple selection of the map area bordered by the screen of your mobile phone or tablet. No other adjustment to the downloaded area is possible.
* **Select area** - define your map crop manually by tapping and drawing highlighted points on the border of the green crop area (default is 25x25 km). Green points move corners of the selection, a magnifier appears when tapping the corners for their accurate placement. If you drag red points, new points to fine-tune your selection emerge. Thus it is possible to define any shape of the map crop.
{{ :manual:user_guide:mapdownload.png?nolink |}}
Other options for selecting download area emerge after tapping **Show advanced options**:
* **By country** - choose any country in the World and Locus Map centers it in a rectangle crop. Then you continue by the //Select area// method to fine-tune your selection.
* **Continue...** - this item appears only in case you have an unfinished download from the previous session. **Locus Map** will firstly check already downloaded tiles and then continue with downloading.
* **By track** - areas to download are defined as a **surround of a track**. It is recommended for trips with a firmly stated itinerary or cross-country competitions or expeditions
* //Draw a new route// - by this method you define your track directly in your device by tapping on the screen. Each tap makes a new trackpoint. If you prefer a more accurate method, uncheck the //Quick add// option in the menu and place your trackpoints by shifting the map center and tapping the {{:manual:user_guide:ic_path_add_alt.png?nolink&30|}}//Add point// button. In case you miss you can delete the last added point by {{:manual:user_guide:ic_path_remove_alt.png?nolink&30|}}button. The width of the area around the track can be easily adjusted by a //slider// at the top of the screen or more precisely in meters by the {{:manual:user_guide:ic_edit_alt.png?nolink&30|}}button. The trackpoints can be shifted so that you can select your area accurately. When you are satisfied, tap the {{:manual:user_guide:ic_ok_color_alt.png?nolink&30|}}button and move to the next step - **selecting zooms**. If not, tap the {{:manual:user_guide:ic_cancel_alt.png?nolink&30|}}button and after a confirmation **cancel** the download-selecting action.
* //Select a track// - Available only with **[[https://www.locusmap.app/premium|Premium]]** Select a track from your storage to define your download area. The track will be divided into 25 sections that can be further adjusted to meet your requirements. Set the width of the area the same way as in the previous method and confirm.\\ {{ :manual:user_guide:mapdownload5.png?nolink |}}
* **By points** - areas to download are defined by a **group of points of interest** that you want to be included in the map
* //Select a folder// - go to your storage and select a **folder with points** you want to place on the downloaded map. Locus Map creates a rectangle that includes all points in the folder on the map. The rectangle can be shaped as in the Select area method and downloaded.
* //Around points// - Available only with **[[https://www.locusmap.app/premium|Premium]]** Select a points folder as previously and **define a radius** around the points which you require to be covered with map. As this is a quite accurate method of defining the map crop, there is no further adjustment available.
Keep in mind that all maps in Locus Map consist of **square tiles** of 256px or 512px per side. All downloads work with whole tiles so it is not possible to download precisely round or curved maps - all are composed of square pieces of the map.
==== Selecting zoom levels ====
Your download area has been defined, the next step is to choose **which zooms to download**. The zoom selection screen consists of the following parts:
* //Zoom preview// - displays the most detailed zoom you select (the biggest scale)
* //Info bar// - total number of map tiles to download and their approximate data size
* //Name// of your downloaded map - in some cases Locus pre-fills this field with a near settlement name. When there is just "name of new map", edit this field or you will be prompted later. It is not possible to proceed with downloading a map without naming it.
* **Zoom selection**:
* //basic options// - a slider with zoom limit button and simplified zoom descriptions (cities, streets, houses etc.). Defines only the most detailed zoom limit to download plus everything above.\\ {{ :manual:user_guide:mapdownload2.png?nolink |}}
* //advanced options// - a table of available zooms with checkboxes. Each zoom level contains information about the map tiles number and estimated data size. Allows to define precisely which zooms to download and which not.\\ {{ :manual:user_guide:mapdownload3.png?nolink |}}
==== Advanced options and confirmation ====
The Advanced options menu offers accurate **calculation** of the final amount of map tiles which is especially useful when downloading **paid commercial maps**. Then there is an option to set the **download type**:
* //Cached map (SQL)// - temporary download into the cache storage space for faster browsing of online maps. Suitable for a quick download before your trip but prone to data corruption.
* //Personal map (SQL)// - the most common method creates a new map for offline use only in the Locus/Maps directory.
* //Supplementary download (SQL)// - updates or supplements already downloaded map (cached or saved as offline) by additional map tiles. Very useful if you need to increase the area of your map coverage or refresh an obsolete map.This method works only with maps that:
* were downloaded by Locus Map
* are of the same map type
* are not older than three years
* //Compressed map (TAR)// - an obsolete method preserved for users of Trekbuddy and other older systems. Useful also for further post-processing of TAR map tile archives.
**Overwrite** - define how old tiles should be rewritten in case you download cached or supplementary maps. Set **"0"** if you want to re-load all map tiles.
==== Paid online maps ====
In case you download a **paid map** Locus Map displays another dialog. It summarizes your **[[manual:user_guide:locus_store:locoins|LoCoin]] credit**, the final price of the downloaded map, the number of tiles in the packet, and the price of 100 tiles. If you have enough credit for the purchase there is no other obstruction to begin downloading.
{{ :manual:user_guide:mapdownload6.png?nolink |}}
==== Downloading progress ====
{{ :manual:user_guide:mapdownload4.png?nolink |}}A downloading progress info box emerges after the download is launched. Besides useful information, it offers to **abort the downloading process** (and lose all already downloaded data without the possibility to restore the process) or **pause it** - then the already downloaded data is saved and the process can be **renewed** from the main download dialog box.
When the **download is complete** Locus Map automatically switches on the **[[manual:user_guide:maps_mmanager|Maps manager offline tab]]** where you can verify the map has been downloaded correctly.
==== Download limits ====
The free map providers define **daily download limits**. Each provider has a different limit. If you add a **[[manual:advanced:customization:online_maps|custom online map]]** to Locus, we limit the download to 10000 map tiles per day in order to protect the map provider's server from overloading.
===== Map caching =====
Some online maps can't be downloaded, i.e. saved as a map file forever, but can be **cached**, i.e. stored into temporary memory. Temporary means that the cached map has **time-limited availability** for offline usage.
A typical case is an **online LoMap** which can be cached for **90 days** and the base **Satellite map** which can be stored in the cache for up to **one year**. The cache timeout of each online map is displayed in its description:\\ {{ :manual:user_guide:mapdownload8.jpg?nolink |}}
==== How to cache a map? ====
* **select** the map from the map manager
* **browse** thoroughly through the **whole area** of your interest on the map screen
* do so across **all zooms** you want to cache - make sure **all map tiles of the area are properly loaded**
And that's it. When you activate the cached online map when you are offline it will display the same way as it is downloaded.