From 0089f8b364bf1b1b45ad903e7ecf3f12aa65666a 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 --- 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 b6fa15e..cd244c7 100644 --- a/maps-plugin-mapzen.changes +++ b/maps-plugin-mapzen.changes @@ -1,3 +1,8 @@ +[Version] maps-plugin-mapzen_0.1.1 +[Date] 30 Oct 2017 +[Title] Revise timeout limits for downloading map tiles. +[Developer] Seechan Kim + [Version] maps-plugin-mapzen_0.1.0 [Date] 18 Oct 2017 [Title] Enable to be built with Tangram-ES source repo. diff --git a/packaging/maps-plugin-mapzen.spec b/packaging/maps-plugin-mapzen.spec index 03ad452..ed6b0bd 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.1.0 +Version: 0.1.1 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 b37656e..5521d25 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