Offline Google Maps download and use - yaapu/FrskyTelemetryScript GitHub Wiki
requires widget version 1.9.3 or later
Required software
- a recent version of MissionPlanner
- the google map tiles resize tool gmapresizetool.zip
Tiles downloading
Offline Google Maps tiles have to be downloaded using MissionPlanner's maps prefetch tool.
Supported map types are
- GoogleMap
- GoogleSatelliteMap
- GoogleHybridMap
- GoogleTerrainMap
Launch MissionPlanner, switch to the "PLAN" tab and navigate to your location.
Use CTRL + left mouse button to draw your download region
right mouse button to select the prefetch tool
accept 20 as max zoom level (min is 1)
wait for download to complete, (time depends on the size of the area)
Tiles resizing
Unzip the resize tool /TOOLS/gmapresizetool.zip
and launch gmapresizetool.exe
User needs to select:
- map type which has to be the same one used in MissionPlanner
- source folder will be automatically set to MissionPlanner download folder
- destination folder which can be the root of the SD card (if mounted) or a temp folder to be eventually copied to the SD card later. The tool will add the correct path to the root path selected by the user, please read the notes below to double check your tiles path!
Note: please double check your map tiles path:
- for Ethos use /bitmaps/yaapu/maps
- for Horus Widget up to version 1.9.6 use /SCRIPTS/yaapu/images/maps
- for Horus Widget version 2.0.0 or later use /IMAGES/yaapu/maps
layout example for WIDGET version 2.0.0
Note: The resize tool will resize all tiles found in MissionPlanner offline cache, if there are tiles that should not be resized and transfered to the SD card it is necessary to clear the download folder C:\ProgramData\Mission Planner\gmapcache\TileDBv3\en* before starting the map prefetch tool.
Configuration
Once the tiles are copied to the SD card it is necessary to run the Widget Config Tool and enable Google Maps support
Zoom controls requires selecting a channel as "emulated wheel channel", moving a switch or a slider up/mid/down will control zoom.
As a last step define a screen toggle channel in the widget config menu, low is message history, mid is main screen, high is map view. or assign page 5 to a widget screen the same way as 2 is used for message history, see here for more info.