From 4b14071c5bf50d65375fddc13bdf839793ee063d Mon Sep 17 00:00:00 2001 From: chanywa Date: Mon, 30 Oct 2017 09:36:35 +0900 Subject: [PATCH] Revise timeout limits for downloading map tiles Change-Id: Ie4f3f89ec31c017dbf805d019fec3ae1921847b3 Signed-off-by: chanywa Conflicts: maps-plugin-mapzen.changes packaging/maps-plugin-mapzen.spec Change-Id: I9d49fab8bf9ca98c4faa9bd6d35bf7b08ef2a61c --- maps-plugin-mapzen.changes | 5 +++++ packaging/maps-plugin-mapzen.spec | 2 +- src/mapzen/tangram_view.cpp | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/maps-plugin-mapzen.changes b/maps-plugin-mapzen.changes index 8109831..585f2d2 100644 --- a/maps-plugin-mapzen.changes +++ b/maps-plugin-mapzen.changes @@ -1,3 +1,8 @@ +[Version] maps-plugin-mapzen_0.0.6 +[Date] 30 Oct 2017 +[Title] Revise timeout limits for downloading map tiles. +[Developer] Seechan Kim + [Version] maps-plugin-mapzen_0.0.5 [Date] 10 Oct 2017 [Title] fix warning messages diff --git a/packaging/maps-plugin-mapzen.spec b/packaging/maps-plugin-mapzen.spec index 06853ab..bfc045d 100644 --- a/packaging/maps-plugin-mapzen.spec +++ b/packaging/maps-plugin-mapzen.spec @@ -1,6 +1,6 @@ Name: maps-plugin-mapzen Summary: Tizen Mapzen Maps Plug-in Library -Version: 0.0.5 +Version: 0.0.6 Release: 1 Group: Location/Libraries License: Apache-2.0 and MIT diff --git a/src/mapzen/tangram_view.cpp b/src/mapzen/tangram_view.cpp index f5925ff..d5fc728 100644 --- a/src/mapzen/tangram_view.cpp +++ b/src/mapzen/tangram_view.cpp @@ -113,6 +113,9 @@ mapzen_error_e TangramView::create(maps_view_h view, maps_plugin_map_view_ready_ free(proxyAddress); } + urlOptions.connectionTimeoutMs = 0; + urlOptions.requestTimeoutMs = 120000; + m_platform = std::make_shared(urlOptions); m_uiThreadId = syscall(SYS_gettid); -- 2.7.4