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:
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Map.MapView.addRoute-method.html
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.
3 Answers
-
These trails could also be tracks or polylines. Anyone been able to draw or add those?
-
Bump! Having this same Issue… only one route wants to be drawn :/
-
You have to set the "name". Every route has to get its own name!