Summary:- According to Copyright and license in Openstreetmap (https://www.openstreetmap.org/copyright/en) credit has to be in the corner of map.
- Add copyright_cb which returns an object to show copyright.
Test Plan: 1. Excecute elementary_test->map 2. Right click->source->set any tile source 3. Observe copyright is added.
Reviewers: cedric, Hermet, jpeg
Subscribers: conr2d
Differential Revision: https://phab.enlightenment.org/D4449
32635ad elm_map: add copyright_cb for osm tile source.
src/lib/elementary/elm_map.c | 64 +++++++++++++++++++++++++++++++----
src/lib/elementary/elm_widget_map.h | 3 ++
src/modules/elementary/test_map/mod.c | 6 ++++
3 files changed, 67 insertions(+), 6 deletions(-)
Upstream: git.enlightenment.org