实例介绍
QML实现高德地图查看与浏览,该插件支持离线显示,支持自动缓存地图,实现街景地图和卫星地图的切换。要求Qt大于5.5版本。
【实例截图】
【核心代码】
MuyiGaoDeMap
└── MuyiGaoDeMap
├── deployment.pri
├── main.cpp
├── MainForm.ui.qml
├── main.qml
├── MuyiGaoDeMap.pro
├── MuyiGaoDeMap.pro.user
├── MuyiMapLocationPlugin
│ ├── gaodecachedtileset.cpp
│ ├── gaodecachedtileset.h
│ ├── gaodecacheworker.cpp
│ ├── gaodecacheworker.h
│ ├── gaodemapengine.cpp
│ ├── gaodemapenginedata.h
│ ├── gaodemapengine.h
│ ├── gaode_maps_plugin.json
│ ├── MuyiMapLocationPlugin.pri
│ ├── qgeocodereplygaode.cpp
│ ├── qgeocodereplygaode.h
│ ├── qgeocodingmanagerenginegaode.cpp
│ ├── qgeocodingmanagerenginegaode.h
│ ├── qgeomapreplygaode.cpp
│ ├── qgeomapreplygaode.h
│ ├── qgeoserviceproviderfactorygaode.cpp
│ ├── qgeoserviceproviderfactorygaode.h
│ ├── qgeotiledmappingmanagerenginegaode.cpp
│ ├── qgeotiledmappingmanagerenginegaode.h
│ ├── qgeotilefetchergaode.cpp
│ ├── qgeotilefetchergaode.h
│ ├── qgeotilefetcherqgc.cpp
│ ├── qgeotilefetcherqgc.h
│ ├── qtlocation
│ │ ├── include
│ │ │ ├── QtLocation
│ │ │ │ ├── 5.5.1
│ │ │ │ │ └── QtLocation
│ │ │ │ │ └── private
│ │ │ │ │ ├── qcache3q_p.h
│ │ │ │ │ ├── qgeocameracapabilities_p.h
│ │ │ │ │ ├── qgeocameradata_p.h
│ │ │ │ │ ├── qgeocameratiles_p.h
│ │ │ │ │ ├── qgeocodereply_p.h
│ │ │ │ │ ├── qgeocodingmanagerengine_p.h
│ │ │ │ │ ├── qgeocodingmanager_p.h
│ │ │ │ │ ├── qgeomaneuver_p.h
│ │ │ │ │ ├── qgeomapcontroller_p.h
│ │ │ │ │ ├── qgeomap_p.h
│ │ │ │ │ ├── qgeomappingmanagerengine_p.h
│ │ │ │ │ ├── qgeomappingmanagerengine_p_p.h
│ │ │ │ │ ├── qgeomappingmanager_p.h
│ │ │ │ │ ├── qgeomappingmanager_p_p.h
│ │ │ │ │ ├── qgeomap_p_p.h
│ │ │ │ │ ├── qgeomapscene_p.h
│ │ │ │ │ ├── qgeomaptype_p.h
│ │ │ │ │ ├── qgeomaptype_p_p.h
│ │ │ │ │ ├── qgeoroute_p.h
│ │ │ │ │ ├── qgeoroutereply_p.h
│ │ │ │ │ ├── qgeorouterequest_p.h
│ │ │ │ │ ├── qgeoroutesegment_p.h
│ │ │ │ │ ├── qgeoroutingmanagerengine_p.h
│ │ │ │ │ ├── qgeoroutingmanager_p.h
│ │ │ │ │ ├── qgeoserviceprovider_p.h
│ │ │ │ │ ├── qgeotilecache_p.h
│ │ │ │ │ ├── qgeotiledmap_p.h
│ │ │ │ │ ├── qgeotiledmappingmanagerengine_p.h
│ │ │ │ │ ├── qgeotiledmappingmanagerengine_p_p.h
│ │ │ │ │ ├── qgeotiledmap_p_p.h
│ │ │ │ │ ├── qgeotiledmapreply_p.h
│ │ │ │ │ ├── qgeotiledmapreply_p_p.h
│ │ │ │ │ ├── qgeotilefetcher_p.h
│ │ │ │ │ ├── qgeotilefetcher_p_p.h
│ │ │ │ │ ├── qgeotilerequestmanager_p.h
│ │ │ │ │ ├── qgeotilespec_p.h
│ │ │ │ │ ├── qgeotilespec_p_p.h
│ │ │ │ │ ├── qplaceattribute_p.h
│ │ │ │ │ ├── qplacecategory_p.h
│ │ │ │ │ ├── qplacecontactdetail_p.h
│ │ │ │ │ ├── qplacecontent_p.h
│ │ │ │ │ ├── qplacecontentrequest_p.h
│ │ │ │ │ ├── qplaceeditorial_p.h
│ │ │ │ │ ├── qplaceicon_p.h
│ │ │ │ │ ├── qplaceimage_p.h
│ │ │ │ │ ├── qplacemanagerengine_p.h
│ │ │ │ │ ├── qplace_p.h
│ │ │ │ │ ├── qplaceproposedsearchresult_p.h
│ │ │ │ │ ├── qplaceratings_p.h
│ │ │ │ │ ├── qplacereply_p.h
│ │ │ │ │ ├── qplaceresult_p.h
│ │ │ │ │ ├── qplacereview_p.h
│ │ │ │ │ ├── qplacesearchresult_p.h
│ │ │ │ │ ├── qplacesupplier_p.h
│ │ │ │ │ ├── qplaceuser_p.h
│ │ │ │ │ └── unsupportedreplies_p.h
│ │ │ │ ├── placemacro.h
│ │ │ │ ├── QGeoCodeReply
│ │ │ │ ├── qgeocodereply.h
│ │ │ │ ├── QGeoCodingManager
│ │ │ │ ├── QGeoCodingManagerEngine
│ │ │ │ ├── qgeocodingmanagerengine.h
│ │ │ │ ├── qgeocodingmanager.h
│ │ │ │ ├── QGeoManeuver
│ │ │ │ ├── qgeomaneuver.h
│ │ │ │ ├── QGeoRoute
│ │ │ │ ├── qgeoroute.h
│ │ │ │ ├── QGeoRouteReply
│ │ │ │ ├── qgeoroutereply.h
│ │ │ │ ├── QGeoRouteRequest
│ │ │ │ ├── qgeorouterequest.h
│ │ │ │ ├── QGeoRouteSegment
│ │ │ │ ├── qgeoroutesegment.h
│ │ │ │ ├── QGeoRoutingManager
│ │ │ │ ├── QGeoRoutingManagerEngine
│ │ │ │ ├── qgeoroutingmanagerengine.h
│ │ │ │ ├── qgeoroutingmanager.h
│ │ │ │ ├── QGeoServiceProvider
│ │ │ │ ├── QGeoServiceProviderFactory
│ │ │ │ ├── qgeoserviceproviderfactory.h
│ │ │ │ ├── qgeoserviceprovider.h
│ │ │ │ ├── QLocation
│ │ │ │ ├── qlocationglobal.h
│ │ │ │ ├── qlocation.h
│ │ │ │ ├── QPlace
│ │ │ │ ├── QPlaceAttribute
│ │ │ │ ├── qplaceattribute.h
│ │ │ │ ├── QPlaceCategory
│ │ │ │ ├── qplacecategory.h
│ │ │ │ ├── QPlaceContactDetail
│ │ │ │ ├── qplacecontactdetail.h
│ │ │ │ ├── QPlaceContent
│ │ │ │ ├── qplacecontent.h
│ │ │ │ ├── QPlaceContentReply
│ │ │ │ ├── qplacecontentreply.h
│ │ │ │ ├── QPlaceContentRequest
│ │ │ │ ├── qplacecontentrequest.h
│ │ │ │ ├── QPlaceDetailsReply
│ │ │ │ ├── qplacedetailsreply.h
│ │ │ │ ├── QPlaceEditorial
│ │ │ │ ├── qplaceeditorial.h
│ │ │ │ ├── qplace.h
│ │ │ │ ├── QPlaceIcon
│ │ │ │ ├── qplaceicon.h
│ │ │ │ ├── QPlaceIdReply
│ │ │ │ ├── qplaceidreply.h
│ │ │ │ ├── QPlaceImage
│ │ │ │ ├── qplaceimage.h
│ │ │ │ ├── QPlaceManager
│ │ │ │ ├── QPlaceManagerEngine
│ │ │ │ ├── qplacemanagerengine.h
│ │ │ │ ├── qplacemanager.h
│ │ │ │ ├── QPlaceMatchReply
│ │ │ │ ├── qplacematchreply.h
│ │ │ │ ├── QPlaceMatchRequest
│ │ │ │ ├── qplacematchrequest.h
│ │ │ │ ├── QPlaceProposedSearchResult
│ │ │ │ ├── qplaceproposedsearchresult.h
│ │ │ │ ├── QPlaceRatings
│ │ │ │ ├── qplaceratings.h
│ │ │ │ ├── QPlaceReply
│ │ │ │ ├── qplacereply.h
│ │ │ │ ├── QPlaceResult
│ │ │ │ ├── qplaceresult.h
│ │ │ │ ├── QPlaceReview
│ │ │ │ ├── qplacereview.h
│ │ │ │ ├── QPlaceSearchReply
│ │ │ │ ├── qplacesearchreply.h
│ │ │ │ ├── QPlaceSearchRequest
│ │ │ │ ├── qplacesearchrequest.h
│ │ │ │ ├── QPlaceSearchResult
│ │ │ │ ├── qplacesearchresult.h
│ │ │ │ ├── QPlaceSearchSuggestionReply
│ │ │ │ ├── qplacesearchsuggestionreply.h
│ │ │ │ ├── QPlaceSupplier
│ │ │ │ ├── qplacesupplier.h
│ │ │ │ ├── QPlaceUser
│ │ │ │ ├── qplaceuser.h
│ │ │ │ ├── QtLocation
│ │ │ │ ├── QtLocationVersion
│ │ │ │ └── qtlocationversion.h
│ │ │ └── QtPositioning
│ │ │ ├── 5.5.1
│ │ │ │ └── QtPositioning
│ │ │ │ └── private
│ │ │ │ ├── qdeclarativegeoaddress_p.h
│ │ │ │ ├── qdeclarativegeolocation_p.h
│ │ │ │ ├── qdoublevector2d_p.h
│ │ │ │ ├── qdoublevector3d_p.h
│ │ │ │ ├── qgeoaddress_p.h
│ │ │ │ ├── qgeocircle_p.h
│ │ │ │ ├── qgeocoordinate_p.h
│ │ │ │ ├── qgeolocation_p.h
│ │ │ │ ├── qgeopositioninfosource_p.h
│ │ │ │ ├── qgeoprojection_p.h
│ │ │ │ ├── qgeorectangle_p.h
│ │ │ │ ├── qgeoshape_p.h
│ │ │ │ ├── qlocationutils_p.h
│ │ │ │ └── qnmeapositioninfosource_p.h
│ │ │ ├── QGeoAddress
│ │ │ ├── qgeoaddress.h
│ │ │ ├── QGeoAreaMonitorInfo
│ │ │ ├── qgeoareamonitorinfo.h
│ │ │ ├── QGeoAreaMonitorSource
│ │ │ ├── qgeoareamonitorsource.h
│ │ │ ├── QGeoCircle
│ │ │ ├── qgeocircle.h
│ │ │ ├── QGeoCoordinate
│ │ │ ├── qgeocoordinate.h
│ │ │ ├── QGeoLocation
│ │ │ ├── qgeolocation.h
│ │ │ ├── QGeoPositionInfo
│ │ │ ├── qgeopositioninfo.h
│ │ │ ├── QGeoPositionInfoSource
│ │ │ ├── QGeoPositionInfoSourceFactory
│ │ │ ├── qgeopositioninfosourcefactory.h
│ │ │ ├── qgeopositioninfosource.h
│ │ │ ├── QGeoRectangle
│ │ │ ├── qgeorectangle.h
│ │ │ ├── QGeoSatelliteInfo
│ │ │ ├── qgeosatelliteinfo.h
│ │ │ ├── QGeoSatelliteInfoSource
│ │ │ ├── qgeosatelliteinfosource.h
│ │ │ ├── QGeoShape
│ │ │ ├── qgeoshape.h
│ │ │ ├── QNmeaPositionInfoSource
│ │ │ ├── qnmeapositioninfosource.h
│ │ │ ├── qpositioningglobal.h
│ │ │ ├── QtPositioning
│ │ │ ├── QtPositioningVersion
│ │ │ └── qtpositioningversion.h
│ │ ├── README.md
│ │ └── src
│ │ ├── location
│ │ │ ├── maps
│ │ │ │ ├── maps.pri
│ │ │ │ ├── qcache3q_p.h
│ │ │ │ ├── qgeocameracapabilities_p.h
│ │ │ │ ├── qgeocameradata_p.h
│ │ │ │ ├── qgeocameratiles_p.h
│ │ │ │ ├── qgeocodereply.h
│ │ │ │ ├── qgeocodereply_p.h
│ │ │ │ ├── qgeocodingmanagerengine.h
│ │ │ │ ├── qgeocodingmanagerengine_p.h
│ │ │ │ ├── qgeocodingmanager.h
│ │ │ │ ├── qgeocodingmanager_p.h
│ │ │ │ ├── qgeomaneuver.h
│ │ │ │ ├── qgeomaneuver_p.h
│ │ │ │ ├── qgeomapcontroller_p.h
│ │ │ │ ├── qgeomap_p.h
│ │ │ │ ├── qgeomappingmanagerengine_p.h
│ │ │ │ ├── qgeomappingmanagerengine_p_p.h
│ │ │ │ ├── qgeomappingmanager_p.h
│ │ │ │ ├── qgeomappingmanager_p_p.h
│ │ │ │ ├── qgeomap_p_p.h
│ │ │ │ ├── qgeomapscene_p.h
│ │ │ │ ├── qgeomaptype_p.h
│ │ │ │ ├── qgeomaptype_p_p.h
│ │ │ │ ├── qgeoroute.h
│ │ │ │ ├── qgeoroute_p.h
│ │ │ │ ├── qgeoroutereply.h
│ │ │ │ ├── qgeoroutereply_p.h
│ │ │ │ ├── qgeorouterequest.h
│ │ │ │ ├── qgeorouterequest_p.h
│ │ │ │ ├── qgeoroutesegment.h
│ │ │ │ ├── qgeoroutesegment_p.h
│ │ │ │ ├── qgeoroutingmanagerengine.h
│ │ │ │ ├── qgeoroutingmanagerengine_p.h
│ │ │ │ ├── qgeoroutingmanager.h
│ │ │ │ ├── qgeoroutingmanager_p.h
│ │ │ │ ├── qgeoserviceproviderfactory.h
│ │ │ │ ├── qgeoserviceprovider.h
│ │ │ │ ├── qgeoserviceprovider_p.h
│ │ │ │ ├── qgeotilecache_p.h
│ │ │ │ ├── qgeotiledmap_p.h
│ │ │ │ ├── qgeotiledmappingmanagerengine_p.h
│ │ │ │ ├── qgeotiledmappingmanagerengine_p_p.h
│ │ │ │ ├── qgeotiledmap_p_p.h
│ │ │ │ ├── qgeotiledmapreply_p.h
│ │ │ │ ├── qgeotiledmapreply_p_p.h
│ │ │ │ ├── qgeotilefetcher_p.h
│ │ │ │ ├── qgeotilefetcher_p_p.h
│ │ │ │ ├── qgeotilerequestmanager_p.h
│ │ │ │ ├── qgeotilespec_p.h
│ │ │ │ └── qgeotilespec_p_p.h
│ │ │ ├── qlocationglobal.h
│ │ │ └── qlocation.h
│ │ └── positioning
│ │ ├── qdeclarativegeoaddress_p.h
│ │ ├── qdeclarativegeolocation_p.h
│ │ ├── qdoublevector2d_p.h
│ │ ├── qdoublevector3d_p.h
│ │ ├── qgeoaddress.h
│ │ ├── qgeoaddress_p.h
│ │ ├── qgeoareamonitorinfo.h
│ │ ├── qgeoareamonitorsource.h
│ │ ├── qgeocircle.h
│ │ ├── qgeocircle_p.h
│ │ ├── qgeocoordinate.h
│ │ ├── qgeocoordinate_p.h
│ │ ├── qgeolocation.h
│ │ ├── qgeolocation_p.h
│ │ ├── qgeopositioninfo.h
│ │ ├── qgeopositioninfosourcefactory.h
│ │ ├── qgeopositioninfosource.h
│ │ ├── qgeopositioninfosource_p.h
│ │ ├── qgeoprojection_p.h
│ │ ├── qgeorectangle.h
│ │ ├── qgeorectangle_p.h
│ │ ├── qgeosatelliteinfo.h
│ │ ├── qgeosatelliteinfosource.h
│ │ ├── qgeoshape.h
│ │ ├── qgeoshape_p.h
│ │ ├── qlocationutils_p.h
│ │ ├── qnmeapositioninfosource.h
│ │ ├── qnmeapositioninfosource_p.h
│ │ └── qpositioningglobal.h
│ ├── urlfactory.cpp
│ └── urlfactory.h
└── qml.qrc
16 directories, 301 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论