diff options
author | Ilya Zverev <zverik@textual.ru> | 2015-10-02 19:59:46 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2015-10-03 00:25:25 +0300 |
commit | f53b8ea5fe32b151692fe654fe2092b240169ce9 (patch) | |
tree | 091de2b362c02b1edb25f8fbe25e47b9c9aaec63 /docs | |
parent | f541ce348914d893082c7fe7e20619b4f081a9ee (diff) |
[docs] Map server instructions
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 7b8ce0f9be..0df8d4176f 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -179,3 +179,20 @@ For XCode configuration instructions, see [CONTRIBUTING.md](CONTRIBUTING.md). If a script has trouble finding your Qt 5 installation, edit `omim/autobuild/detect_qmake.sh`, adding a path to `qmake` there. + +## Map Servers + +The "guest" configuration does not have any map server addresses built-in. That means, while your +application would work well with [downloaded maps](http://direct.mapswithme.com/direct/latest/), +it won't be able to download them by itself. To fix this, add some servers to +`DEFAULT_URLS_JSON` define in the `private.h` file. These servers should have mwm files +in `/maps/151231` paths, symlinked to `/ios`, `/android`, `/mac` and `/win` (depending on operating +systems from which your maps will be downloaded). + +`151231` is a version number, which should be a six-digit integer, usually in form +`YYMMDD` of the date map data was downloaded. The version and file sizes of all mwm and +routing files should be put into `data/countries.txt` file. + +Android application may also download some resources - fonts and World files - from the same +servers. It checks sizes of existing files via `external_resources.txt`, and if some of these +don't match, it considers them obsolete and downloads new resource files. |