Commit Graph

48 Commits

Author SHA1 Message Date
Jonathan Atton 6b88bee7e5 elm_map: use emap
SVN revision: 60684
2011-06-25 14:30:10 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Sangho Park 92060c1ed5 Elementary map: add APIs for setting min,max zoom level
SVN revision: 59704
2011-05-26 12:40:29 +00:00
Sangho Park 0203bfdb0e Elementary Map: --warns (-Wshadow)
SVN revision: 59562
2011-05-21 08:59:19 +00:00
Sangho Park 1a547f902f Elementary map: split route & track (watchwolf's suggestion)
SVN revision: 59548
2011-05-20 05:55:15 +00:00
Sangho Park 2c7fc83f40 Elementary map:
> fix ZOOM_AUTO_FILL, FIT bug
  > fix wheel bug  when paused is set


SVN revision: 59257
2011-05-07 06:32:34 +00:00
Sangho Park 0a07dc8225 Elementary map:
> --bug of zoom
   > API change (double elm_map_zoom_get() -> int elm_map_zoom_get())


SVN revision: 59216
2011-05-05 15:15:43 +00:00
Sangho Park 2afcbf5d44 Elementary map: remove warnings of test_map
SVN revision: 59198
2011-05-05 07:42:12 +00:00
Sangho Park cb2a485477 Elementary map: add elm_menu to test_map
SVN revision: 59193
2011-05-04 15:01:07 +00:00
Sangho Park b4830b8e84 Elementary map: elm_map source patch
i removed all custom enum & url callback of elm_map.
(ELM_MAP_SOURCE_CUSTOM_1, ELM_MAP_SOURCE_CUSTOM_2, ..., _custom1_url_cb, _custom2_url_cb, ... etc)
instead of those, i made sources list.
changed APIs are almost internal APIs...
but some APIs were changed for intuitive usage of map source.
user can make map module instead of setting custom APIs.

another change is "elm_module -> eina_module".
the reason of this change, is that elm_module uses environment value (i.e getenv, setenv.. ELM_MODULES)
i don't want to have a environment value dependency.


SVN revision: 59184
2011-05-04 09:44:53 +00:00
Daniel Juyung Seo a66af23825 Elementary map: Fixed warning.
SVN revision: 59036
2011-04-29 12:37:31 +00:00
Sangho Park 524096648e Elementary map: change evas_object_line (route) to evas_object_polygon
SVN revision: 59016
2011-04-28 16:52:52 +00:00
Sangho Park 2bf6702d02 elm_map: add default wheel control for zoom in/out
SVN revision: 58985
2011-04-28 02:47:12 +00:00
Daniel Juyung Seo 2c0b0050e5 Elementary test_map.c: Fixed formatting.
Fixed indentation. Put a space between if/for and (. Removed unnecessary blank lines.


SVN revision: 58937
2011-04-26 16:19:58 +00:00
Sangho Park 6bc4670615 - add rotate feature
- pinch zoom improvement


SVN revision: 58784
2011-04-21 08:55:02 +00:00
Sangho Park fe580b2fdb This is a patch for elm_map name(address) feature.
I added some APIs for name to elm_map.c and added some test code to test_map.c

I used nominatim OSM service. (http://http://nominatim.openstreetmap.org/)
as i felt, it's response time was very good to use.


SVN revision: 58703
2011-04-18 06:42:47 +00:00
Daniel Juyung Seo 64ff85f610 Elementary src/bin: Removed all trailing whitespaces.
SVN revision: 58491
2011-04-08 14:30:48 +00:00
Carsten Haitzler dccd5aa4c6 spank! wanings--
SVN revision: 58483
2011-04-08 08:42:32 +00:00
Daniel Juyung Seo d61cf35694 Elementary map: Route patch. Patch by Sangho Park <gouache95@gmail.com>
Mail from Sangho Park.
I added some APIs for route to elm_map.c
There are some route services provided by Open Street Map (yours, open
route service, monav...)
I just added 'yours' url callback and will add ors, monav.
And added some test code to test_map.c


SVN revision: 58474
2011-04-08 06:14:10 +00:00
Christopher Michael 95ae8f0624 add __UNUSED__ for data paramater as it's not used.
SVN revision: 57070
2011-02-15 21:29:44 +00:00
sangho park ce03c84077 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map_marker_remove test code

Dear all,

This is a patch for elm_map_marker_remove test code.
I added one button for marker_remove to test_map.c



SVN revision: 57044
2011-02-15 10:28:39 +00:00
Carsten Haitzler 305ee514a6 warnings--
SVN revision: 56049
2011-01-11 09:58:34 +00:00
sangho park 4502370c80 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map downloading progress info & bug fix

I added one new signal, one new API and fixed seg fault bug.

- signal : "download" (this signal is called when map_tile is
downloaded)
- API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int
*try_num, int *finish_num)
- seg fault : if user select custom map provider, seg fault occurs,
because
there is no url_cb in the custom map provider

you can check download progress using these signal & API.
the example is in "test_map.c".



SVN revision: 56039
2011-01-11 05:48:28 +00:00
sangho park 6f63c7bf30 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map module patch

This is a patch for elm_map module.
when app developers or companies want to use specific license map (i.e
google map), module is needed.

- add new map provider for module "ELM_MAP_SOURCE_MODULE".
- add test_map module.
- add test code for module provider.
- add my name to AUTHORS.



SVN revision: 55684
2010-12-21 09:14:47 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao fff738fbe8 Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings

SVN revision: 53683
2010-10-20 17:15:14 +00:00
Bruno Dilly 0121df333c Clean test_map, test_multi and test_photocam files
Remove commented lines, extra lines and spaces.


SVN revision: 53638
2010-10-19 18:26:28 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Jonathan Atton 3a6d8926d3 Elm_Map : add a source manager and 3 souces
SVN revision: 44665
2009-12-22 22:47:17 +00:00
Jonathan Atton 007680e73f Elm map :
* now we have 2 class : 1 for the marker and 1 for the group. When a marker is "alone", the class of the marker is used, if it is grouped with others markers, the class of the group is used.
* markers with the same class are grouped. If 2 markers do not have the same class they are not grouped.
* an icon can be set by the user for a single marker or a class
* the theme have 3 different markers/groups : radio, radio2 and empty (only the numbers of markers and the icon are displayed)
* we can specify to display a group's class only for a zoom >= to a value. It means a marker of this group is not displayed for a zoom < to this value.
* off course we have new bugs too :)


SVN revision: 44610
2009-12-20 16:34:45 +00:00
Jonathan Atton 33f4e9f399 Elm map: add poused_markers, if true the markers are not displayed while the zoom animation.
SVN revision: 44555
2009-12-18 21:28:06 +00:00
Jonathan Atton 805e5d1bb5 Elm map : replace the list of markers by a matrixsparse (1 cell per region), this way we can have a lot of markers (10k+)))
SVN revision: 44545
2009-12-18 14:28:36 +00:00
Christopher Michael d481240d7f Fix variables not defined as static. Patch from Nicolas Aguirre
SVN revision: 44435
2009-12-13 23:25:31 +00:00
Christopher Michael 3ab5ec940f Fix nasty formatting.
Don't segfault if map cannot be created when launching test_map.



SVN revision: 44253
2009-12-07 18:05:04 +00:00
Jonathan Atton f60db59094 Elm test : add eweather.
SVN revision: 43988
2009-11-25 20:37:53 +00:00
Jonathan Atton c248cece9a Elm map : add new methods like delete a marker, display a list of markers ....
SVN revision: 43791
2009-11-18 21:07:01 +00:00
Jonathan Atton 2414a39fd2 Elm map test : add zoom with the mouse wheel
SVN revision: 43755
2009-11-17 19:05:59 +00:00
Jonathan Atton 5374075e65 Elm map : Fix the zoom (need to be fixed in photocam too). Everything seems working fine now
SVN revision: 43750
2009-11-17 15:44:11 +00:00
Jonathan Atton a2bb1b0cbf Elm map : the height of the bubble is equals to the height of the content
SVN revision: 43743
2009-11-16 21:32:33 +00:00
Jonathan Atton 8d73a92e60 Elm map: remove curl_easy_error()
SVN revision: 43722
2009-11-15 23:10:31 +00:00
Jonathan Atton 5601e74460 Elm map : add the markers
SVN revision: 43710
2009-11-15 15:53:37 +00:00
Jonathan Atton 93e8a448ce Elm map : some fixs
SVN revision: 43692
2009-11-14 15:30:03 +00:00
Jonathan Atton 59d8a34755 Elm Map : some fix. "Show paris" wich is a zoom to 18 segv.
SVN revision: 43690
2009-11-14 13:58:22 +00:00
Jonathan Atton 5b36d0ceeb Elm: add the zoom with the mouse wheel in the photocam test.
SVN revision: 43666
2009-11-13 17:34:20 +00:00
Jonathan Atton bf12a8e8e1 Elementary : add Elm_Map. 2 bugs are known : ecore become crazy after a time (I think ecore_download bug somewhere) and "Show Paris" does not work well because we can't zoom and immediately after move (an idler somewhere in the sroller move the scroller ?)
SVN revision: 43664
2009-11-13 15:22:23 +00:00