2012-02-23 21:48:27 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Route Route
|
|
|
|
*
|
|
|
|
* For displaying a route on the map widget.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add a new route object to the parent's canvas
|
|
|
|
*
|
|
|
|
* @param parent The parent object
|
|
|
|
* @return The new object or NULL if it cannot be created
|
|
|
|
*
|
|
|
|
*/
|
2011-12-29 23:20:48 -08:00
|
|
|
EAPI Evas_Object *elm_route_add(Evas_Object *parent);
|
2012-02-23 21:48:27 -08:00
|
|
|
|
2011-12-29 22:49:28 -08:00
|
|
|
#ifdef ELM_EMAP
|
2011-12-29 23:20:48 -08:00
|
|
|
EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
|
2011-12-29 22:49:28 -08:00
|
|
|
#endif
|
2012-02-23 21:48:27 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the minimum and maximum values along the longitude.
|
|
|
|
*
|
|
|
|
* @param obj The route object.
|
|
|
|
* @param min Pointer to store the minimum value.
|
|
|
|
* @param max Pointer to store the maximum value.
|
|
|
|
*
|
|
|
|
* @note If only one value is needed, the other pointer can be passed
|
|
|
|
* as @c NULL.
|
|
|
|
*
|
|
|
|
* @ingroup Route
|
|
|
|
*/
|
|
|
|
EAPI void elm_route_longitude_min_max_get(const Evas_Object *obj, double *min, double *max);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the minimum and maximum values along the latitude.
|
|
|
|
*
|
|
|
|
* @param obj The route object.
|
|
|
|
* @param min Pointer to store the minimum value.
|
|
|
|
* @param max Pointer to store the maximum value.
|
|
|
|
*
|
|
|
|
* @note If only one value is needed, the other pointer can be passed
|
|
|
|
* as @c NULL.
|
|
|
|
*
|
|
|
|
* @ingroup Route
|
|
|
|
*/
|
|
|
|
EAPI void elm_route_latitude_min_max_get(const Evas_Object *obj, double *min, double *max);
|