Fixed to allow setting distance to 0 when searching places 47/88047/3
authorchanywa <cbible.kim@samsung.com>
Tue, 13 Sep 2016 01:36:11 +0000 (10:36 +0900)
committerchanywa <cbible.kim@samsung.com>
Tue, 13 Sep 2016 01:53:42 +0000 (10:53 +0900)
Change-Id: Iec5b20cd2c56a612b86ba3b49e0ce59616ef07da

maps-plugin-here.changes
packaging/maps-plugin-here.spec
src/here_api.cpp

index b01a8f1..eaef268 100644 (file)
@@ -1,3 +1,8 @@
+[Version]   maps-plugin-here_0.3.7
+[Date]      13 Sep 2016
+[Title]     Fixed to allow setting distance to 0 when searching places
+[Developer] Seechan Kim <cbible.kim@samsung.com>
+
 [Version]   maps-plugin-here_0.3.6
 [Date]      07 Sep 2016
 [Title]     Added HERE UC app for wearable circle-shaped profile
index 803f6ae..ede4f99 100644 (file)
@@ -1,6 +1,6 @@
 Name:       maps-plugin-here
 Summary:    Tizen HERE Maps Plug-in Library
-Version:    0.3.6
+Version:    0.3.7
 Release:    1
 Group:      Location/Libraries
 License:    Apache-2.0 and HERE
index 631991c..7087592 100644 (file)
@@ -330,7 +330,7 @@ int HerePluginSearchPlace(maps_coordinates_h hPos, int nDistance,
        void *pUserData, int *nReqId)
 {
        /* checking parmaters */
-       if (!hPos || !HereUtils::IsValid(*(maps_coordinates_s*)hPos) || nDistance <= 0)
+       if (!hPos || !HereUtils::IsValid(*(maps_coordinates_s*)hPos) || nDistance < 0)
                return HERE_ERROR_INVALID_PARAMETER;
 
        if (!hFilter || !pCbFunc || !nReqId)