From: SungTaek Hong Date: Thu, 18 Feb 2016 01:03:10 +0000 (-0800) Subject: map: add scale_cb for map module X-Git-Tag: upstream/1.20.0~7116^2~14^2~144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25a8ada79a2b73b2c0d668060d1901c6132aff03;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/legacy/elementary/src/modules/test_map/mod.c b/legacy/elementary/src/modules/test_map/mod.c index 7699390..39bc524 100644 --- a/legacy/elementary/src/modules/test_map/mod.c +++ b/legacy/elementary/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) {