Set the minimum size for map view 71/162871/3 accepted/tizen/4.0/unified/20171207.070743 submit/tizen_4.0/20171206.084456
authorchanywa <cbible.kim@samsung.com>
Wed, 6 Dec 2017 01:42:22 +0000 (10:42 +0900)
committerSeechan Kim <cbible.kim@samsung.com>
Wed, 6 Dec 2017 02:08:05 +0000 (02:08 +0000)
Change-Id: I48462683a382c098e19a941f4d7315e9f8accc3b

maps-plugin-mapzen.changes
packaging/maps-plugin-mapzen.spec
src/mapzen/tangram_view.cpp

index 9f9ee80..d0b92ef 100644 (file)
@@ -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 <cbible.kim@samsung.com>
+
 [Version]   maps-plugin-mapzen_0.0.9
 [Date]      04 Dec 2017
 [Title]     Fix crashes and blocking with curl threads
index a0081a8..5f7a533 100644 (file)
@@ -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
index d5fc728..2f7b9aa 100644 (file)
@@ -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.
        {