3 Star 4 Fork 3

freewu/QtMap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
map_loader.h 713 Bytes
一键复制 编辑 原始数据 按行查看 历史
freewu32 提交于 2016-11-04 18:09 . 添加项目
#ifndef MAPLOADER_H
#define MAPLOADER_H
#include <QObject>
#include <QFile>
#include <QFileInfo>
#include <stdio.h>
#include <QPainterPath>
#include <QPointF>
#include <list>
#include "ogr_feature.h"
#include "ogr_api.h"
#include "ogrsf_frmts.h"
#include "gdal_priv.h"
#include "map_widget.h"
class MapLoader : public QObject
{
Q_OBJECT
public:
explicit MapLoader(QObject *parent = 0);
//通过uri加载地图数据
void loadDataForFile(QFileInfo fileInfo);
//通过http加载地图数据
void loadDataForNet(QUrl url);
signals:
public slots:
private:
//计算多边形
void matchPolygon(OGRPolygon* polygon);
};
#endif // MAPLOADER_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/free1234566789/QtMap.git
git@gitee.com:free1234566789/QtMap.git
free1234566789
QtMap
QtMap
master

搜索帮助