diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2017-09-11 14:47:36 +0200 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2017-09-11 14:47:36 +0200 |
commit | 8cd0718826f1c9b3c58cbe4446c38a01897a4af3 (patch) | |
tree | 87ffbd7a038b2da7dbfdce593423e4f099abd7ee /src/poi-service | |
parent | 2ccff0a4c37b56f05edc189411fcc29e83f6696b (diff) | |
download | poi-service-8cd0718826f1c9b3c58cbe4446c38a01897a4af3.tar.gz |
some minor changes to allow display Korean on map
Diffstat (limited to 'src/poi-service')
-rw-r--r-- | src/poi-service/poi-server/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/poi-service/poi-server/main.cpp b/src/poi-service/poi-server/main.cpp index cb6ee28..a6053b9 100644 --- a/src/poi-service/poi-server/main.cpp +++ b/src/poi-service/poi-server/main.cpp @@ -1826,7 +1826,7 @@ uint16_t poiSearchServer::searchPOIRequest(uint16_t categoryIndex, std::string s m_poiTable.push_back(poi); LOG_DEBUG(gCtx,"POI name: %s found at distance: %d",poi.name.c_str(),poi.distance); } - LOG_DEBUG(gCtx,"Amount of POI found: %d",sqlQueryResult.size()); + LOG_DEBUG(gCtx,"Amount of POI found: %lu",sqlQueryResult.size()); return(sqlQueryResult.size()); } @@ -2125,9 +2125,15 @@ std::vector< ::DBus::Struct< std::string, std::string, std::string > > poiConfig { std::vector< ::DBus::Struct< std::string, std::string, std::string > > ret; ::DBus::Struct< std::string, std::string, std::string > en_US { "eng","USA", "Latn" }; + ::DBus::Struct< std::string, std::string, std::string > de_DE { "deu","DEU", "Latn" }; ::DBus::Struct< std::string, std::string, std::string > fr_FR { "fra","FRA", "Latn" }; + ::DBus::Struct< std::string, std::string, std::string > jp_JP { "jpn","JPN", "Hrkt" }; + ::DBus::Struct< std::string, std::string, std::string > ko_KO { "kor","KOR", "Hang" }; ret.push_back(en_US); + ret.push_back(de_DE); ret.push_back(fr_FR); + ret.push_back(jp_JP); + ret.push_back(ko_KO); return ret; } |