Change-Id: I31a470fd2274282b42c9de731854dc83cf0c7b4c
12 files changed:
maps_view_object_operation_e operation);
here_error_e getViewScale(maps_view_h view, double *scale);
here_error_e setViewScale(maps_view_h view, double scale);
maps_view_object_operation_e operation);
here_error_e getViewScale(maps_view_h view, double *scale);
here_error_e setViewScale(maps_view_h view, double scale);
+ void TerminateService();
private:
here_error_e initOpenGL();
private:
here_error_e initOpenGL();
Evas_GL_API *__api;
bool __isInitialized;
Evas_GL_API *__api;
bool __isInitialized;
-libheremaps-engine.so.1.0.6_35
\ No newline at end of file
+libheremaps-engine.so.1.0.6_36
\ No newline at end of file
-libheremaps-engine.so.1.0.6_35
\ No newline at end of file
+libheremaps-engine.so.1.0.6_36
\ No newline at end of file
-libheremaps-engine.so.1.0.6_35
\ No newline at end of file
+libheremaps-engine.so.1.0.6_36
\ No newline at end of file
-libheremaps-engine.so.1.0.6_35
\ No newline at end of file
+libheremaps-engine.so.1.0.6_36
\ No newline at end of file
+[Version] maps-plugin-here_0.3.31
+[Date] 24 Nov 2017
+[Title] Terminate HereView when destroying HereManager
+[Developer] Seechan Kim <cbible.kim@samsung.com>
+
[Version] maps-plugin-here_0.3.30
[Date] 02 Nov 2017
[Title] Revice the capability of pending requests
[Version] maps-plugin-here_0.3.30
[Date] 02 Nov 2017
[Title] Revice the capability of pending requests
Name: maps-plugin-here
Summary: Tizen HERE Maps Plug-in Library
Name: maps-plugin-here
Summary: Tizen HERE Maps Plug-in Library
Release: 1
Group: Location/Libraries
License: Apache-2.0 and HERE
Release: 1
Group: Location/Libraries
License: Apache-2.0 and HERE
__api = NULL;
__isInitialized = false;
__api = NULL;
__isInitialized = false;
+void HereView::TerminateService(void)
+{
+ if (!__isShutdown) {
+ MAPS_LOGD("close HereView");
+ close(NULL);
+ }
+ delete this;
+}
+
here_error_e HereView::init(maps_view_h view, maps_plugin_map_view_ready_cb callback)
{
if (!view)
here_error_e HereView::init(maps_view_h view, maps_plugin_map_view_ready_cb callback)
{
if (!view)
here_error_e HereView::close(maps_view_h view)
{
here_error_e HereView::close(maps_view_h view)
{
- if (!view)
- return HERE_ERROR_INVALID_PARAMETER;
__visualObjects.set(NULL, NULL);
if (__img)
evas_object_image_pixels_get_callback_set(__img, NULL, NULL);
__visualObjects.set(NULL, NULL);
if (__img)
evas_object_image_pixels_get_callback_set(__img, NULL, NULL);
ecore_idler_del(__idler);
ecore_idler_del(__idler);
if (__map) {
__map->SetUpdateMapSignal(NULL);
if (__map) {
__map->SetUpdateMapSignal(NULL);
{
HereView *hv = NULL;
int maps_error = maps_view_get_maps_plugin_view_handle(data, (void**)&hv);
{
HereView *hv = NULL;
int maps_error = maps_view_get_maps_plugin_view_handle(data, (void**)&hv);
- if (maps_error != MAPS_ERROR_NONE || !hv) return true;
- if (!hv->__map || !hv->__map->GetRootPixmap()) return true;
+ if (maps_error != MAPS_ERROR_NONE || !hv) return ECORE_CALLBACK_CANCEL;
+ if (hv->__isShutdown) return ECORE_CALLBACK_CANCEL;
+ if (!hv->__map || !hv->__map->GetRootPixmap()) return ECORE_CALLBACK_RENEW;
while (hv->__pendingObjects.size()) {
PendingObject pending = hv->__pendingObjects.front();
while (hv->__pendingObjects.size()) {
PendingObject pending = hv->__pendingObjects.front();
__processViewObject(data, object, operation);
}
__processViewObject(data, object, operation);
}
+ return ECORE_CALLBACK_RENEW;
}
void HereView::__processViewObject(maps_view_h view, const maps_view_object_h object, maps_view_object_operation_e operation)
}
void HereView::__processViewObject(maps_view_h view, const maps_view_object_h object, maps_view_object_operation_e operation)