Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Multiple routes

I have an iPhone(maybe Android in the future) app I'm developing that provides trail information. I have been able to display various annotations for a single trail on a map, but when I go to draw multiple lines(which a trail might have many connecting trails or offshoots), it appears as that only one route is drawn. I've looked over the map docs and there appears to be only a addRoute, whereas there is an addAnnotations:
Has anyone been able to get multiple lines added or is this not possible with Titanium 1.4? I would prefer to display this natively, but I might end up just display a webview with a Google Maps v.3 view.

— asked September 28th 2010 by Troy Taylor
  • 1.4
  • mapview
  • route

3 Answers

  • These trails could also be tracks or polylines. Anyone been able to draw or add those?

    — answered September 28th 2010 by Troy Taylor
  • Bump! Having this same Issue… only one route wants to be drawn :/

    — answered February 20th 2011 by Scott Millar
  • You have to set the "name". Every route has to get its own name!

    — answered March 19th 2011 by Felix Krause
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.