Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (addroute)
Viewing all articles
Browse latest Browse all 20

addRoute on android and sdk 2.1

$
0
0

Hi there!

with the announcement of sdk 2.1, the titanium team announced that there is a "addRoute" method for android as well. But when I switch to 2.1 in my tiapp.xml and try to add a route, I still get the message that my mapviewobject does not have such a method.

Here is the Code:

map.addRoute({
            color : 'purple',
            name : 'route',
            points : points,
            width : 5
        });
Of course, there are valid points in the pointsobject

Best Regards, Martin


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>