Set the minimum size for map view 78/162878/1 accepted/tizen/unified/20171207.070155 submit/tizen/20171206.084458
authorchanywa <cbible.kim@samsung.com>
Wed, 6 Dec 2017 02:03:04 +0000 (11:03 +0900)
committerchanywa <cbible.kim@samsung.com>
Wed, 6 Dec 2017 02:03:04 +0000 (11:03 +0900)
Change-Id: I86c263657f6ee3f003ded64198fb54b34fbf1b1d

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

index 079219e393295a83921d7c9de160f10f77f22a7b..c6ba95bc7a1b6ae24ce1f7f27a087b38a42fc3e4 100644 (file)
@@ -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 <cbible.kim@samsung.com>
+
 [Version]   maps-plugin-mapzen_0.1.2
 [Date]      04 Dec 2017
 [Title]     Fix crashes and blocking with curl threads
index c7c2b0cabfda968957443fbd6064789dff6ab706..bfe0caa7b7dc1235d1f30910ca9481becbd8e3f5 100644 (file)
@@ -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
index 5521d250e25f54a9dda1ec6ff8a6db38f039082a..1b05c4b1913af35dfcd29d78ec03ea05255dbb52 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.
        {