From: chanywa Date: Wed, 6 Dec 2017 01:42:22 +0000 (+0900) Subject: Set the minimum size for map view X-Git-Tag: accepted/tizen/4.0/unified/20171207.070743^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86c164053746eece6bd24a6d776af58f757ef723;p=platform%2Fcore%2Flocation%2Fmaps-plugin-mapzen.git Set the minimum size for map view Change-Id: I48462683a382c098e19a941f4d7315e9f8accc3b --- diff --git a/maps-plugin-mapzen.changes b/maps-plugin-mapzen.changes index 9f9ee80..d0b92ef 100644 --- a/maps-plugin-mapzen.changes +++ b/maps-plugin-mapzen.changes @@ -1,3 +1,8 @@ +[Version] maps-plugin-mapzen_0.0.10 +[Date] 06 Dec 2017 +[Title] Set the minimum size for map view +[Developer] Seechan Kim + [Version] maps-plugin-mapzen_0.0.9 [Date] 04 Dec 2017 [Title] Fix crashes and blocking with curl threads diff --git a/packaging/maps-plugin-mapzen.spec b/packaging/maps-plugin-mapzen.spec index a0081a8..5f7a533 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.9 +Version: 0.0.10 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 d5fc728..2f7b9aa 100644 --- a/src/mapzen/tangram_view.cpp +++ b/src/mapzen/tangram_view.cpp @@ -62,6 +62,8 @@ mapzen_error_e TangramView::create(maps_view_h view, maps_plugin_map_view_ready_ if (maps_error != MAPS_ERROR_NONE) { return (mapzen_error_e)convert_maps_error_to_mapzen_error(maps_error); } + m_w = MAX(m_w, 1); + m_h = MAX(m_h, 1); // Create an OpenGL context. {