提交 a931b69c080c982fc54d33196a6982347e6cd0f9

作者 LJH 李佳桓
1 个父辈 eb7a673b

l

@@ -57,7 +57,7 @@ namespace DmpTms @@ -57,7 +57,7 @@ namespace DmpTms
57 int tileMatrix_=atoi(vec_[isize_-3].c_str()); 57 int tileMatrix_=atoi(vec_[isize_-3].c_str());
58 const DmpProject *project = context.project(); 58 const DmpProject *project = context.project();
59 DmpTileLayer *tileLayer = static_cast<DmpTileLayer *>(project->getLayer("layer")); 59 DmpTileLayer *tileLayer = static_cast<DmpTileLayer *>(project->getLayer("layer"));
60 - std::string format_=tileLayer->getFormat(); 60 + std::string format_=vec0_[1].c_str();
61 std::string filePath_=tileLayer->getDataSource(); 61 std::string filePath_=tileLayer->getDataSource();
62 if(filePath_.empty()) 62 if(filePath_.empty())
63 { 63 {
注册登录 后发表评论