cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3dd12dd120206c7199597449cb13eca370b79cb3

commit 3dd12dd120206c7199597449cb13eca370b79cb3
Author: SungTaek Hong <sth253.h...@samsung.com>
Date:   Wed Feb 17 17:03:10 2016 -0800

    map: add scale_cb for map module
    
    Summary:
    - in elm_map's _source_mod_cb(), scale_cb is needed to
      load MAP tile module.
    - currently, test_map mod.c lacks this scale_cb
      and fails to load Map Tile source.
    
    Reviewers: woohyun, Hermet, cedric
    
    Reviewed By: cedric
    
    Differential Revision: https://phab.enlightenment.org/D3702
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/modules/test_map/mod.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/modules/test_map/mod.c b/src/modules/test_map/mod.c
index 7699390..39bc524 100644
--- a/src/modules/test_map/mod.c
+++ b/src/modules/test_map/mod.c
@@ -62,6 +62,12 @@ map_module_tile_coord_to_geo(const Evas_Object *obj 
EINA_UNUSED, int zoom EINA_U
    return EINA_FALSE;
 }
 
+EAPI double
+map_module_tile_scale_get(const Evas_Object *obj EINA_UNUSED, double lon 
EINA_UNUSED, double lat EINA_UNUSED, int zoom EINA_UNUSED)
+{
+   return 0;
+}
+
 static Eina_Bool
 _module_init(void)
 {

-- 


Reply via email to