nowadays, I'm trying to implement route functionality to elm_map.
route information is provided by osm (
http://wiki.openstreetmap.org/wiki/YOURS#Routing_API).

example static url is : "
http://www.yournavigation.org/api/1.0/gosmore.php?format=kml&flat=52.215676&flon=5.963946&tlat=52.2573&tlon=6.1799&v=motorcar&fast=1&layer=mapnik
"

API prototype is ...

EAPI Elm_Map_Route * elm_map_route_add(const Evas_Object *obj, int type,
double flon, double flat, double tlon, double tlat);
  type : the type of transport (motocar, bicycle, foot, etc).
  flon: longitude of the starting location.
  flat : latitude of the starting location.
  tlon: longitude of the end location.
  tlat : latitude of the end location.

EAPI void elm_map_route_remove(Elm_Map_Route *route);
EAPI void elm_map_route_bring_in(Elm_Map_Route *route);
EAPI void elm_map_route_show(Elm_Map_Route *route);

how do you think these APIs?
is it possible to add route api to elm_map?
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to