Tizen Native API  5.0

route_inheritance_tree.png

For displaying a route on the map widget.

Functions

void elm_route_emap_set (Elm_Route *obj, void *emap)
 Set map widget for this route.
void elm_route_longitude_min_max_get (const Elm_Route *obj, double *min, double *max)
 Get the minimum and maximum values along the longitude.
void elm_route_latitude_min_max_get (const Elm_Route *obj, double *min, double *max)
 Get the minimum and maximum values along the latitude.
Evas_Objectelm_route_add (Evas_Object *parent)

Function Documentation

Add a new route object to the parent's canvas

Parameters:
parentThe parent object
Returns:
The new object or NULL if it cannot be created
void elm_route_emap_set ( Elm_Route *  obj,
void *  emap 
)

Set map widget for this route.

Parameters:
[in]objThe object.
[in]emapElementary map widget
void elm_route_latitude_min_max_get ( const Elm_Route *  obj,
double *  min,
double *  max 
)

Get the minimum and maximum values along the latitude.

Note:
If only one value is needed, the other pointer can be passed as null.
Parameters:
[in]objThe object.
[out]minPointer to store the minimum value.
[out]maxPointer to store the maximum value.
void elm_route_longitude_min_max_get ( const Elm_Route *  obj,
double *  min,
double *  max 
)

Get the minimum and maximum values along the longitude.

Note:
If only one value is needed, the other pointer can be passed as null.
Parameters:
[in]objThe object.
[out]minPointer to store the minimum value.
[out]maxPointer to store the maximum value.