Qt-QWebEngineView loads Google offline maps (including offline map tile download and production)

Description

     We often deal with maps in engineering projects, so how does the client software load maps? One is to load an online map. The advantage of this loading method is that programming is more convenient when there is a network; the disadvantage is that the need to have a network is not conducive to the display and programming of the map. Relatively another loading method is offline map, this loading method basically has no disadvantages, but it only needs to make offline maps before programming.

     This article introduces the offline loading method and will introduce the downloading of map tiles and local html loading, Qt loading offline html method, etc.

ready

     1. Water Jingzhu Universal Map Downloader

     2. Google offline map API3 ( download by yourself )

     3. Qt5 (note that the WebEngine module is checked and installed when installing Qt )

map

     1. Open the installed Shuijingzhu universal map downloader (the author compares hao and bought the genuine one. (●'◡'●))
Insert picture description here

     2. Select the google map, and in the upper right side of the software division you wish to download map tiles area.

Guess you like

Origin blog.csdn.net/automoblie0/article/details/106492882