summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_map_eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_map_eo.h')
-rw-r--r--src/lib/elementary/elm_map_eo.h731
1 files changed, 731 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_map_eo.h b/src/lib/elementary/elm_map_eo.h
new file mode 100644
index 0000000..d33e955
--- /dev/null
+++ b/src/lib/elementary/elm_map_eo.h
@@ -0,0 +1,731 @@
1#ifndef _ELM_MAP_EO_H_
2#define _ELM_MAP_EO_H_
3
4#ifndef _ELM_MAP_EO_CLASS_TYPE
5#define _ELM_MAP_EO_CLASS_TYPE
6
7typedef Eo Elm_Map;
8
9#endif
10
11#ifndef _ELM_MAP_EO_TYPES
12#define _ELM_MAP_EO_TYPES
13
14/**
15 * @brief Set type of a external source (provider).
16 *
17 * See @ref elm_obj_map_sources_get() See @ref elm_obj_map_source_get() See
18 * @ref elm_obj_map_source_set()
19 *
20 * @ingroup Elm_Map
21 */
22typedef enum
23{
24 ELM_MAP_SOURCE_TYPE_TILE = 0, /**< Map tile provider. */
25 ELM_MAP_SOURCE_TYPE_ROUTE, /**< Route service provider. */
26 ELM_MAP_SOURCE_TYPE_NAME, /**< Name service provider. */
27 ELM_MAP_SOURCE_TYPE_LAST /**< Sentinel value to indicate last enum field
28 * during iteration */
29} Elm_Map_Source_Type;
30
31/**
32 * @brief Set type of transport used on route.
33 *
34 * See @ref elm_obj_map_route_add()
35 *
36 * @ingroup Elm_Map
37 */
38typedef enum
39{
40 ELM_MAP_ROUTE_TYPE_MOTOCAR = 0, /**< Route should consider an automobile will
41 * be used. */
42 ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used
43 * by the user. */
44 ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
45 ELM_MAP_ROUTE_TYPE_LAST /**< Sentinel value to indicate last enum field during
46 * iteration */
47} Elm_Map_Route_Type;
48
49/**
50 * @brief Set the routing method, what should be prioritized, time or distance.
51 *
52 * See @ref elm_obj_map_route_add()
53 *
54 * @ingroup Elm_Map
55 */
56typedef enum
57{
58 ELM_MAP_ROUTE_METHOD_FASTEST = 0, /**< Route should prioritize time. */
59 ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should prioritize distance. */
60 ELM_MAP_ROUTE_METHOD_LAST /**< Sentinel value to indicate last enum field
61 * during iteration */
62} Elm_Map_Route_Method;
63
64
65#endif
66/** Elementary map class
67 *
68 * @ingroup Elm_Map
69 */
70#define ELM_MAP_CLASS elm_map_class_get()
71
72EWAPI const Efl_Class *elm_map_class_get(void);
73
74/**
75 * @brief Set the minimum zoom of the source.
76 *
77 * @param[in] obj The object.
78 * @param[in] zoom Minimum zoom value to be used.
79 *
80 * @ingroup Elm_Map
81 */
82EOAPI void elm_obj_map_zoom_min_set(Eo *obj, int zoom);
83
84/**
85 * @brief Get the minimum zoom of the source.
86 *
87 * @param[in] obj The object.
88 *
89 * @return Minimum zoom value to be used.
90 *
91 * @ingroup Elm_Map
92 */
93EOAPI int elm_obj_map_zoom_min_get(const Eo *obj);
94
95/**
96 * @brief Rotate the map.
97 *
98 * @param[in] obj The object.
99 * @param[in] degree Angle from 0.0 to 360.0 to rotate around Z axis.
100 * @param[in] cx Rotation's center horizontal position.
101 * @param[in] cy Rotation's center vertical position.
102 *
103 * @ingroup Elm_Map
104 */
105EOAPI void elm_obj_map_rotate_set(Eo *obj, double degree, int cx, int cy);
106
107/**
108 * @brief Get the rotate degree of the map.
109 *
110 * @param[in] obj The object.
111 * @param[out] degree Angle from 0.0 to 360.0 to rotate around Z axis.
112 * @param[out] cx Rotation's center horizontal position.
113 * @param[out] cy Rotation's center vertical position.
114 *
115 * @ingroup Elm_Map
116 */
117EOAPI void elm_obj_map_rotate_get(const Eo *obj, double *degree, int *cx, int *cy);
118
119/**
120 * @brief Set the user agent used by the map object to access routing services.
121 *
122 * User agent is a client application implementing a network protocol used in
123 * communications within a clientserver distributed computing system
124 *
125 * The @c user_agent identification string will transmitted in a header field
126 * @c User-Agent.
127 *
128 * @param[in] obj The object.
129 * @param[in] user_agent The user agent to be used by the map.
130 *
131 * @ingroup Elm_Map
132 */
133EOAPI void elm_obj_map_user_agent_set(Eo *obj, const char *user_agent);
134
135/**
136 * @brief Get the user agent used by the map object.
137 *
138 * @param[in] obj The object.
139 *
140 * @return The user agent to be used by the map.
141 *
142 * @ingroup Elm_Map
143 */
144EOAPI const char *elm_obj_map_user_agent_get(const Eo *obj);
145
146/**
147 * @brief Set the maximum zoom of the source.
148 *
149 * @param[in] obj The object.
150 * @param[in] zoom Maximum zoom value to be used.
151 *
152 * @ingroup Elm_Map
153 */
154EOAPI void elm_obj_map_zoom_max_set(Eo *obj, int zoom);
155
156/**
157 * @brief Get the maximum zoom of the source.
158 *
159 * @param[in] obj The object.
160 *
161 * @return Maximum zoom value to be used.
162 *
163 * @ingroup Elm_Map
164 */
165EOAPI int elm_obj_map_zoom_max_get(const Eo *obj);
166
167/**
168 * @brief Get the current geographic coordinates of the map.
169 *
170 * This gets the current center coordinates of the map object. It can be set by
171 * @ref elm_obj_map_region_bring_in and @ref elm_obj_map_region_show.
172 *
173 * @param[in] obj The object.
174 * @param[out] lon Pointer to store longitude.
175 * @param[out] lat Pointer to store latitude.
176 *
177 * @ingroup Elm_Map
178 */
179EOAPI void elm_obj_map_region_get(const Eo *obj, double *lon, double *lat);
180
181/**
182 * @brief Return all overlays in the map object.
183 *
184 * This list includes group overlays also. So this can be changed dynamically
185 * while zooming and panning.
186 *
187 * @param[in] obj The object.
188 *
189 * @return The list of all overlays or @c null upon failure.
190 *
191 * @since 1.7
192 *
193 * @ingroup Elm_Map
194 */
195EOAPI Eina_List *elm_obj_map_overlays_get(const Eo *obj);
196
197/**
198 * @brief Get the information of tile load status.
199 *
200 * This gets the current tile loaded status for the map object.
201 *
202 * @param[in] obj The object.
203 * @param[out] try_num Pointer to store number of tiles download requested.
204 * @param[out] finish_num Pointer to store number of tiles successfully
205 * downloaded.
206 *
207 * @ingroup Elm_Map
208 */
209EOAPI void elm_obj_map_tile_load_status_get(const Eo *obj, int *try_num, int *finish_num);
210
211/**
212 * @brief Set the current source of the map for a specific type.
213 *
214 * Map widget retrieves tile images that composes the map from a web service.
215 * This web service can be set with this method for #ELM_MAP_SOURCE_TYPE_TILE
216 * type. A different service can return a different maps with different
217 * information and it can use different zoom values.
218 *
219 * Map widget provides route data based on a external web service. This web
220 * service can be set with this method for #ELM_MAP_SOURCE_TYPE_ROUTE type.
221 *
222 * Map widget also provide geoname data based on a external web service. This
223 * web service can be set with this method for #ELM_MAP_SOURCE_TYPE_NAME type.
224 *
225 * The @c source_name need to match one of the names provided by
226 * @ref elm_obj_map_sources_get.
227 *
228 * The current source can be get using @ref elm_obj_map_source_get.
229 *
230 * @param[in] obj The object.
231 * @param[in] type Source type.
232 * @param[in] source_name The source to be used.
233 *
234 * @ingroup Elm_Map
235 */
236EOAPI void elm_obj_map_source_set(Eo *obj, Elm_Map_Source_Type type, const char *source_name);
237
238/**
239 * @brief Get the name of currently used source for a specific type.
240 *
241 * @param[in] obj The object.
242 * @param[in] type Source type.
243 *
244 * @return The name of the source in use.
245 *
246 * @ingroup Elm_Map
247 */
248EOAPI const char *elm_obj_map_source_get(const Eo *obj, Elm_Map_Source_Type type);
249
250/**
251 * @brief Add a new route to the map object.
252 *
253 * A route will be traced by point on coordinates ($flat, @c flon) to point on
254 * coordinates ($tlat, @c tlon), using the route service set with
255 * @ref elm_obj_map_source_set.
256 *
257 * It will take @c type on consideration to define the route, depending if the
258 * user will be walking or driving, the route may vary. One of
259 * #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
260 * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
261 *
262 * Another parameter is what the route should prioritize, the minor distance or
263 * the less time to be spend on the route. So @c method should be one of
264 * #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
265 *
266 * Routes created with this method can be deleted with @ref elm_map_route_del
267 * and distance can be get with @ref elm_map_route_distance_get.
268 *
269 * @param[in] obj The object.
270 * @param[in] type The type of transport to be considered when tracing a route.
271 * @param[in] method The routing method, what should be prioritized.
272 * @param[in] flon The start longitude.
273 * @param[in] flat The start latitude.
274 * @param[in] tlon The destination longitude.
275 * @param[in] tlat The destination latitude.
276 * @param[in] route_cb The route to be traced.
277 * @param[in] data A pointer of user data.
278 *
279 * @return The created route or @c null upon failure.
280 *
281 * @ingroup Elm_Map
282 */
283EOAPI Elm_Map_Route *elm_obj_map_route_add(Eo *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat, Elm_Map_Route_Cb route_cb, void *data);
284
285/**
286 * @brief Add a track on the map.
287 *
288 * @param[in] obj The object.
289 * @param[in] emap The emap route object.
290 *
291 * @return The route object. This is an elm object of type Route.
292 *
293 * @ingroup Elm_Map
294 */
295EOAPI Efl_Canvas_Object *elm_obj_map_track_add(Eo *obj, void *emap);
296
297/**
298 * @brief Convert geographic coordinates (longitude, latitude) into canvas
299 * coordinates.
300 *
301 * This gets canvas x, y coordinates from longitude and latitude. The canvas
302 * coordinates mean x, y coordinate from current viewport.
303 *
304 * @param[in] obj The object.
305 * @param[in] lon The longitude to convert.
306 * @param[in] lat The latitude to convert.
307 * @param[out] x A pointer to horizontal coordinate.
308 * @param[out] y A pointer to vertical coordinate.
309 *
310 * @ingroup Elm_Map
311 */
312EOAPI void elm_obj_map_region_to_canvas_convert(const Eo *obj, double lon, double lat, int *x, int *y);
313
314/**
315 * @brief Add a new circle overlay to the map object. This overlay has a circle
316 * type.
317 *
318 * Overlay created with this method can be deleted with @ref
319 * elm_map_overlay_del.
320 *
321 * @param[in] obj The object.
322 * @param[in] lon The center longitude.
323 * @param[in] lat The center latitude.
324 * @param[in] radius The pixel length of radius.
325 *
326 * @return The created overlay or @c null upon failure.
327 *
328 * @ingroup Elm_Map
329 */
330EOAPI Elm_Map_Overlay *elm_obj_map_overlay_circle_add(Eo *obj, double lon, double lat, double radius);
331
332/**
333 * @brief Add a new class overlay to the map object. This overlay has a class
334 * type.
335 *
336 * This overlay is not shown before overlay members are appended. if overlay
337 * members in the same class are close, group overlays are created. If they are
338 * far away, group overlays are hidden. When group overlays are shown, they
339 * have default style layouts at first.
340 *
341 * You can change the state (hidden, paused, etc.) or set the content or icon
342 * of the group overlays by chaning the state of the class overlay. Do not
343 * modify the group overlay itself.
344 *
345 * Also these changes have a influence on the overlays in the same class even
346 * if each overlay is alone and is not grouped.
347 *
348 * @param[in] obj The object.
349 *
350 * @return The created overlay or @c null upon failure.
351 *
352 * @ingroup Elm_Map
353 */
354EOAPI Elm_Map_Overlay *elm_obj_map_overlay_class_add(Eo *obj);
355
356/**
357 * @brief Add a new bubble overlay to the map object. This overlay has a bubble
358 * type.
359 *
360 * A bubble will not be displayed before geographic coordinates are set or any
361 * other overlays are followed.
362 *
363 * This overlay has a bubble style layout and icon or content can not be set.
364 *
365 * Overlay created with this method can be deleted with @ref
366 * elm_map_overlay_del.
367 *
368 * @param[in] obj The object.
369 *
370 * @return The created overlay or @c null upon failure.
371 *
372 * @ingroup Elm_Map
373 */
374EOAPI Elm_Map_Overlay *elm_obj_map_overlay_bubble_add(Eo *obj);
375
376/**
377 * @brief Get the names of available sources for a specific type.
378 *
379 * It will provide a list with all available sources. Current source can be set
380 * by @ref elm_obj_map_source_set, or get with @ref elm_obj_map_source_get.
381 *
382 * At least available sources of tile type are "Mapnik", "Osmarender",
383 * "CycleMap" and "Maplint".
384 *
385 * At least available sources of route type are "Yours".
386 *
387 * At least available sources of name type are "Nominatim".
388 *
389 * @param[in] obj The object.
390 * @param[in] type Source type.
391 *
392 * @return The char pointer array of source names.
393 *
394 * @ingroup Elm_Map
395 */
396EOAPI const char **elm_obj_map_sources_get(const Eo *obj, Elm_Map_Source_Type type);
397
398/**
399 * @brief Add a new polygon overlay to the map object. This overlay has a
400 * polygon type.
401 *
402 * At least 3 regions should be added to show the polygon overlay.
403 *
404 * Overlay created with this method can be deleted with @ref
405 * elm_map_overlay_del.
406 *
407 * @param[in] obj The object.
408 *
409 * @return The created overlay or @c null upon failure.
410 *
411 * @ingroup Elm_Map
412 */
413EOAPI Elm_Map_Overlay *elm_obj_map_overlay_polygon_add(Eo *obj);
414
415/**
416 * @brief Add a new line overlay to the map object. This overlay has a line
417 * type.
418 *
419 * Overlay created with this method can be deleted with @ref
420 * elm_map_overlay_del.
421 *
422 * @param[in] obj The object.
423 * @param[in] flon The start longitude.
424 * @param[in] flat The start latitude.
425 * @param[in] tlon The destination longitude.
426 * @param[in] tlat The destination latitude.
427 *
428 * @return The created overlay or @c null upon failure.
429 *
430 * @ingroup Elm_Map
431 */
432EOAPI Elm_Map_Overlay *elm_obj_map_overlay_line_add(Eo *obj, double flon, double flat, double tlon, double tlat);
433
434/**
435 * @brief Show the given coordinates at the center of the map, immediately.
436 *
437 * This causes map to redraw its viewport's contents to the region containing
438 * the given @c lat and @c lon, that will be moved to the center of the map.
439 *
440 * See @ref elm_obj_map_region_bring_in for a function to move with animation.
441 *
442 * @param[in] obj The object.
443 * @param[in] lon Longitude to center at.
444 * @param[in] lat Latitude to center at.
445 *
446 * @ingroup Elm_Map
447 */
448EOAPI void elm_obj_map_region_show(Eo *obj, double lon, double lat);
449
450/**
451 * @brief Request a address or geographic coordinates(longitude, latitude) from
452 * a given address or geographic coordinate(longitude, latitude).
453 *
454 * If you want to get address from geographic coordinates, set input @c address
455 * as @c null and set @c lon, @c lat as you want to convert. If address is set
456 * except NULL, @c lon and @c lat are checked.
457 *
458 * To get the string for this address, @ref elm_map_name_address_get should be
459 * used after callback or "name,loaded" signal is called.
460 *
461 * To get the longitude and latitude, @ref elm_map_region_get should be used.
462 *
463 * @param[in] obj The object.
464 * @param[in] address The address.
465 * @param[in] lon The longitude.
466 * @param[in] lat The latitude.
467 * @param[in] name_cb The callback function.
468 * @param[in] data The user callback data.
469 *
470 * @return A #Elm_Map_Name handle for this coordinate.
471 *
472 * @ingroup Elm_Map
473 */
474EOAPI Elm_Map_Name *elm_obj_map_name_add(const Eo *obj, const char *address, double lon, double lat, Elm_Map_Name_Cb name_cb, void *data);
475
476/**
477 * @brief Requests a list of addresses corresponding to a given name.
478 *
479 * @internal
480 *
481 * @param[in] obj The object.
482 * @param[in] address The address.
483 * @param[in] name_cb The callback function.
484 * @param[in] data The user callback data.
485 *
486 * @since 1.8
487 *
488 * @ingroup Elm_Map
489 */
490EOAPI void elm_obj_map_name_search(const Eo *obj, const char *address, Elm_Map_Name_List_Cb name_cb, void *data);
491
492/**
493 * @brief Animatedly bring in given coordinates to the center of the map.
494 *
495 * This causes map to jump to the given @c lat and @c lon coordinates and show
496 * it (by scrolling) in the center of the viewport, if it is not already
497 * centered. This will use animation to do so and take a period of time to
498 * complete.
499 *
500 * See @ref elm_obj_map_region_show for a function to avoid animation.
501 *
502 * @param[in] obj The object.
503 * @param[in] lon Longitude to center at.
504 * @param[in] lat Latitude to center at.
505 *
506 * @ingroup Elm_Map
507 */
508EOAPI void elm_obj_map_region_bring_in(Eo *obj, double lon, double lat);
509
510/**
511 * @brief Animatedly set the zoom level of the map and bring in given
512 * coordinates to the center of the map.
513 *
514 * This causes map to zoom into specific zoom level and also move to the given
515 * @c lat and @c lon coordinates and show it (by scrolling) in the center of
516 * the viewport concurrently.
517 *
518 * See also @ref elm_obj_map_region_bring_in.
519 *
520 * @param[in] obj The object.
521 * @param[in] zoom The zoom level to set.
522 * @param[in] lon Longitude to center at.
523 * @param[in] lat Latitude to center at.
524 *
525 * @since 1.11
526 *
527 * @ingroup Elm_Map
528 */
529EOAPI void elm_obj_map_region_zoom_bring_in(Eo *obj, int zoom, double lon, double lat);
530
531/**
532 * @brief Remove a track from the map.
533 *
534 * @param[in] obj The object.
535 * @param[in] route The track to remove.
536 *
537 * @ingroup Elm_Map
538 */
539EOAPI void elm_obj_map_track_remove(Eo *obj, Efl_Canvas_Object *route);
540
541/**
542 * @brief Add a new route overlay to the map object. This overlay has a route
543 * type.
544 *
545 * This overlay has a route style layout and icon or content can not be set.
546 *
547 * The color scheme can be changed by @ref elm_map_overlay_content_set.
548 *
549 * Overlay created with this method can be deleted with @ref
550 * elm_map_overlay_del.
551 *
552 * @param[in] obj The object.
553 * @param[in] route The route object to make a overlay.
554 *
555 * @return The created overlay or @c null upon failure.
556 *
557 * @ingroup Elm_Map
558 */
559EOAPI Elm_Map_Overlay *elm_obj_map_overlay_route_add(Eo *obj, const Elm_Map_Route *route);
560
561/**
562 * @brief Add a new scale overlay to the map object. This overlay has a scale
563 * type.
564 *
565 * The scale overlay shows the ratio of a distance on the map to the
566 * corresponding distance.
567 *
568 * Overlay created with this method can be deleted with @ref
569 * elm_map_overlay_del.
570 *
571 * @param[in] obj The object.
572 * @param[in] x horizontal pixel coordinate.
573 * @param[in] y vertical pixel coordinate.
574 *
575 * @return The created overlay or @c null upon failure.
576 *
577 * @ingroup Elm_Map
578 */
579EOAPI Elm_Map_Overlay *elm_obj_map_overlay_scale_add(Eo *obj, int x, int y);
580
581/**
582 * @brief Add a new overlay to the map object. This overlay has a default type.
583 *
584 * A overlay will be created and shown in a specific point of the map, defined
585 * by @c lon and @c lat.
586 *
587 * The created overlay has a default style layout before content or icon is
588 * set. If content or icon is set, those are displayed instead of default style
589 * layout.
590 *
591 * You can set by using @ref elm_map_overlay_content_set or @ref
592 * elm_map_overlay_icon_set. If @c null is set, default style is shown again.
593 *
594 * Overlay created with this method can be deleted by @ref elm_map_overlay_del.
595 *
596 * @param[in] obj The object.
597 * @param[in] lon The longitude of the overlay.
598 * @param[in] lat The latitude of the overlay.
599 *
600 * @return The created overlay or @c null upon failure.
601 *
602 * @ingroup Elm_Map
603 */
604EOAPI Elm_Map_Overlay *elm_obj_map_overlay_add(Eo *obj, double lon, double lat);
605
606/**
607 * @brief Convert canvas coordinates into geographic coordinates (longitude,
608 * latitude).
609 *
610 * This gets longitude and latitude from canvas x, y coordinates. The canvas
611 * coordinates mean x, y coordinate from current viewport.
612 *
613 * @param[in] obj The object.
614 * @param[in] x Horizontal coordinate of the point to convert.
615 * @param[in] y Vertical coordinate of the point to convert.
616 * @param[out] lon A pointer to the longitude.
617 * @param[out] lat A pointer to the latitude.
618 *
619 * @ingroup Elm_Map
620 */
621EOAPI void elm_obj_map_canvas_to_region_convert(const Eo *obj, int x, int y, double *lon, double *lat);
622
623EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_PRESS;
624
625/** Called when map was pressed
626 * @return Evas_Event_Mouse_Down
627 *
628 * @ingroup Elm_Map
629 */
630#define ELM_MAP_EVENT_PRESS (&(_ELM_MAP_EVENT_PRESS))
631
632EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_LOADED;
633
634/** Called when map loaded
635 *
636 * @ingroup Elm_Map
637 */
638#define ELM_MAP_EVENT_LOADED (&(_ELM_MAP_EVENT_LOADED))
639
640EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_TILE_LOAD;
641
642/** Called when title load started
643 *
644 * @ingroup Elm_Map
645 */
646#define ELM_MAP_EVENT_TILE_LOAD (&(_ELM_MAP_EVENT_TILE_LOAD))
647
648EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_TILE_LOADED;
649
650/** Called when title load finished
651 *
652 * @ingroup Elm_Map
653 */
654#define ELM_MAP_EVENT_TILE_LOADED (&(_ELM_MAP_EVENT_TILE_LOADED))
655
656EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_TILE_LOADED_FAIL;
657
658/** Called when title load failed
659 *
660 * @ingroup Elm_Map
661 */
662#define ELM_MAP_EVENT_TILE_LOADED_FAIL (&(_ELM_MAP_EVENT_TILE_LOADED_FAIL))
663
664EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_ROUTE_LOAD;
665
666/** Called when route load started
667 * @return Elm_Map_Route
668 *
669 * @ingroup Elm_Map
670 */
671#define ELM_MAP_EVENT_ROUTE_LOAD (&(_ELM_MAP_EVENT_ROUTE_LOAD))
672
673EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_ROUTE_LOADED;
674
675/** Called when route load finished
676 *
677 * @ingroup Elm_Map
678 */
679#define ELM_MAP_EVENT_ROUTE_LOADED (&(_ELM_MAP_EVENT_ROUTE_LOADED))
680
681EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_ROUTE_LOADED_FAIL;
682
683/** Called when route load failed
684 *
685 * @ingroup Elm_Map
686 */
687#define ELM_MAP_EVENT_ROUTE_LOADED_FAIL (&(_ELM_MAP_EVENT_ROUTE_LOADED_FAIL))
688
689EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_NAME_LOAD;
690
691/** Called when name load started
692 *
693 * @ingroup Elm_Map
694 */
695#define ELM_MAP_EVENT_NAME_LOAD (&(_ELM_MAP_EVENT_NAME_LOAD))
696
697EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_NAME_LOADED;
698
699/** Called when name load finished
700 *
701 * @ingroup Elm_Map
702 */
703#define ELM_MAP_EVENT_NAME_LOADED (&(_ELM_MAP_EVENT_NAME_LOADED))
704
705EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_NAME_LOADED_FAIL;
706
707/** Called when name load failed
708 *
709 * @ingroup Elm_Map
710 */
711#define ELM_MAP_EVENT_NAME_LOADED_FAIL (&(_ELM_MAP_EVENT_NAME_LOADED_FAIL))
712
713EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_OVERLAY_CLICKED;
714
715/** Called when overlay was clicked
716 * @return Elm_Map_Overlay
717 *
718 * @ingroup Elm_Map
719 */
720#define ELM_MAP_EVENT_OVERLAY_CLICKED (&(_ELM_MAP_EVENT_OVERLAY_CLICKED))
721
722EWAPI extern const Efl_Event_Description _ELM_MAP_EVENT_OVERLAY_DEL;
723
724/** Called when overlay was deleted
725 * @return Elm_Map_Overlay
726 *
727 * @ingroup Elm_Map
728 */
729#define ELM_MAP_EVENT_OVERLAY_DEL (&(_ELM_MAP_EVENT_OVERLAY_DEL))
730
731#endif