2 * @defgroup Route Route
4 * For displaying a route on the map widget.
10 * Add a new route object to the parent's canvas
12 * @param parent The parent object
13 * @return The new object or NULL if it cannot be created
16 EAPI Evas_Object *elm_route_add(Evas_Object *parent);
19 EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
23 EINA_DEPRECATED EAPI double elm_route_lon_min_get(Evas_Object *obj);
24 EINA_DEPRECATED EAPI double elm_route_lat_min_get(Evas_Object *obj);
25 EINA_DEPRECATED EAPI double elm_route_lon_max_get(Evas_Object *obj);
26 EINA_DEPRECATED EAPI double elm_route_lat_max_get(Evas_Object *obj);
29 * Get the minimum and maximum values along the longitude.
31 * @param obj The route object.
32 * @param min Pointer to store the minimum value.
33 * @param max Pointer to store the maximum value.
35 * @note If only one value is needed, the other pointer can be passed
40 EAPI void elm_route_longitude_min_max_get(const Evas_Object *obj, double *min, double *max);
43 * Get the minimum and maximum values along the latitude.
45 * @param obj The route object.
46 * @param min Pointer to store the minimum value.
47 * @param max Pointer to store the maximum value.
49 * @note If only one value is needed, the other pointer can be passed
54 EAPI void elm_route_latitude_min_max_get(const Evas_Object *obj, double *min, double *max);