Git Product home page Git Product logo

myqtlocation's Introduction

MyQtLocation

Qt Location custom plugin,map tiles can be loaded.

自定义Qt Location插件,可用于加载瓦片地图。

我的CSDN博客:https://blog.csdn.net/gongjianbo1992/article/details/103655126

Note(注意)

1.Tested at Qt5.12+MSVC2017/Qt5.15+MSVC2019. 测试环境为Qt5.12+MSVC2017及Qt5.15+MSVC2019

2.Using ArcGIS Server to organize tiles. 瓦片图片使用ArcGIS Server组织方式

3.After testing, the tiles of Google-maps and GaoDe-maps are available, but the tiles of Baidu-maps are not organized in the same way. 经测试,谷歌地图和高德地图的瓦片可用,但是百度地图的瓦片组织方式不一样,用百度地图需要改下加载的路径拼接

4.In MinGW, location and control2 cannot be mixed. 在MinGW中,不能把location和control2混用

5.In MinGW, Map cannot be loaded with QQuickWidget. 在MinGW中,不能用QQuickWidget加载Map

6.When you switch focus, the map will have white blocks. You can set the transparency of the map or the parent item to 0.99. 切换焦点时,地图会有白块,可将地图或上级Item设置透明度为0.99

7.Currently, there is no management of tile cache. After tile update, it needs to be cleaned manually (Windows in AppData\Local\cache\QtLocation). 目前没有对瓦片缓存进行管理,更新瓦片后需要手动清理(Windows在AppData\Local\cache\QtLocation)

Reference(参考)

1.Qt官方文档及源码 https://doc.qt.io/qt-5/qtlocation-geoservices.html

2.https://github.com/mavlink/qgroundcontrol

3.https://github.com/vladest/googlemaps

4.https://github.com/wangpengcheng/OfflineMapTest

5.百度和高德瓦片组织方式 https://blog.csdn.net/qq_28459505/article/details/83176577

myqtlocation's People

Contributors

gongjianbo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.