Titanium Community Questions & Answer Archive

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

Cannot see Map with Route

I follow this link to check the [Map with Route] (http://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/map_view2.js).
But when I run this application in iPhone Simulator as well as in iPhone, I get this error message:
Result of expression 'mapview.addRoute' [underfined] is not a function at map_viewe2.js (line 4)
What's the problems? My Titanium SDK i'm using is 1.2.1, and iPhone SDK is 3.1. Does this version of Titanium not support Route?

— asked September 1st 2010 by Triet BuiMinh
  • route
0 Comments

1 Answer

  • Make sure you're using the latest Titanium 1.4.0 SDK (remember that the SDK is different from the Titanium Developer app you use; the SDK is set on the "Edit" tab) and you may also need to be using the iOS 4.1 SDK.

    I had the same error, and when I upgraded to the 1.4.0 SDK and iOS 4.1, it worked.

    — answered September 14th 2010 by Ryan Asleson
    permalink
    0 Comments
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.