From: chanywa Date: Wed, 6 Dec 2017 02:03:04 +0000 (+0900) Subject: Set the minimum size for map view X-Git-Tag: submit/tizen/20171206.084458^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36072b463bed6a30d0a8c92005c759f3a99f5aca;p=platform%2Fcore%2Flocation%2Fmaps-plugin-mapzen.git Set the minimum size for map view Change-Id: I86c263657f6ee3f003ded64198fb54b34fbf1b1d --- diff --git a/maps-plugin-mapzen.changes b/maps-plugin-mapzen.changes index 079219e..c6ba95b 100644 --- a/maps-plugin-mapzen.changes +++ b/maps-plugin-mapzen.changes @@ -1,3 +1,8 @@ +[Version] maps-plugin-mapzen_0.1.3 +[Date] 06 Dec 2017 +[Title] Set the minimum size for map view +[Developer] Seechan Kim + [Version] maps-plugin-mapzen_0.1.2 [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 c7c2b0c..bfe0caa 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.2 +Version: 0.1.3 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 5521d25..1b05c4b 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. {