*/
virtual void OnPlaceDetailsReply(const PlaceDetailsReply& rReply) = 0;
- #ifdef TIZEN_CUSTOMIZATION
+ #ifdef TIZEN_CUSTOMIZATION
/**
* This method is a callback invoked when data have arrived in response to a
* categories request.
* @param rReply A constant reference to an object containing the response data.
*/
virtual void OnCategoriesReply(const CategoriesReply& rReply) = 0;
- #endif
+ #endif
#ifdef TIZEN_MIGRATION
/**
virtual void OnPlaceDetailsFailure(const PlaceDetailsReply& rReply) = 0;
#endif
- #ifdef TIZEN_CUSTOMIZATION
+ #ifdef TIZEN_CUSTOMIZATION
/**
* This method is a callback invoked when categories request is failed.
*
* @param error A pointer to an object that is populated
* with error information should parsing fail.
*/
- static bool ParseCategoriesSearch( ByteBuffer& buf, CategoriesReply& results_page, FinderError*& pError );
+ static bool ParseCategoriesSearch( ByteBuffer& buf, CategoriesReply& results_page, FinderError*& pError );
#endif
private:
static void ParsePlaceResults(JsonArray* pObject, PlaceItemList&, SearchItemList& );
#ifdef TIZEN_CUSTOMIZATION
- static void ParseCategoriesSearch( IJsonValue* pJsonValue, CategoriesReply& result );
+ static void ParseCategoriesSearch( IJsonValue* pJsonValue, CategoriesReply& result );
#endif
private:
* @return <code>true</code> if the scale bar is enabled, otherwise <code>false</code>.
*/
bool GetScalebar() const;
+
+ /**
+ * This method sets position of logo of the map.
+ *
+ * @param xFactor The propotional x-position of the logo [0.0~1.0].
+ * @param yFactor The propotional y-position of the logo [0.0~1.0].
+ */
+ void SetLogoPosition(double xFactor, double yFactor);
#endif
#ifdef TIZEN_SUPPORT_TILE_FILE_CACHE
int HerePluginCaptureSnapshot(maps_view_h hView, void **data, int *w, int *h, maps_view_colorspace_type_e *cs);
+int HerePluginSetLogoPosition(maps_view_h view, double x_factor, double y_factor);
+
int HerePluginCheckUC(const char *provider, maps_service_request_user_consent_cb pCbFunc, void *user_data);
#endif //_LOCATION_HERE_API_H_
\ No newline at end of file
const maps_coordinates_h coord, int *x, int *y);
here_error_e captureSnapshot(maps_view_h view, void **data, int *width, int *height,
maps_view_colorspace_type_e *cs);
+ here_error_e setLogoPosition(maps_view_h view, double x_factor, double y_factor);
here_error_e getMinZoomLevel(maps_view_h view, int *zoom);
here_error_e getMaxZoomLevel(maps_view_h view, int *zoom);
-libheremaps-engine.so.1.0.6_20
\ No newline at end of file
+libheremaps-engine.so.1.0.6_22
\ No newline at end of file
-libheremaps-engine.so.1.0.6_20
\ No newline at end of file
+libheremaps-engine.so.1.0.6_22
\ No newline at end of file
-libheremaps-engine.so.1.0.6_20
\ No newline at end of file
+libheremaps-engine.so.1.0.6_22
\ No newline at end of file
-libheremaps-engine.so.1.0.6_20
\ No newline at end of file
+libheremaps-engine.so.1.0.6_22
\ No newline at end of file
return error;
}
+int HerePluginSetLogoPosition(maps_view_h view, double x_factor, double y_factor)
+{
+ HereView *vh = NULL;
+ int maps_error = maps_view_get_maps_plugin_view_handle(view, (void**)&vh);
+ here_error_e error = (here_error_e)ConvertToHereError(maps_error);
+ if (error == HERE_ERROR_NONE && vh)
+ error = vh->setLogoPosition(view, x_factor, y_factor);
+ return error;
+}
+
static void _heremaps_consent_changed_cb(keynode_t *node EINA_UNUSED, void *user_data)
{
MAPS_FUNC_ENTER
return ConvertToMapsError(ret);
}
+
+EXPORT_API int maps_plugin_set_logo_position(maps_view_h view, double x_factor, double y_factor)
+{
+ int ret = HerePluginSetLogoPosition(view, x_factor, y_factor);
+ return ConvertToMapsError(ret);
+}
} // end of extern "C"
return HERE_ERROR_NONE;
}
+here_error_e HereView::setLogoPosition(maps_view_h view, double x_factor, double y_factor)
+{
+ if (!__isInitialized || !__map)
+ return HERE_ERROR_SERVICE_NOT_AVAILABLE;
+
+ __map->SetLogoPosition(x_factor, y_factor);
+ return HERE_ERROR_NONE;
+}
+
HERE_PLUGIN_END_NAMESPACE