Community Questions & Answers

generate route on mapview

hi.., Can anyone please help me to plot a route between a user location and a static location: ~~~ var map = Ti.Map.createView({ animate: true, annotations: [anno], height: Ti.UI.FILL, mapType: Ti.Map.STANDARD_TYPE, region: region, ...

Open native maps with routing?

Hey i am trying to open native maps (ios) to show a route directly... How the hell can i use latitude/longitude data for that? I can only run it with "real" adresses like New York at the moment... Any idea? (Cause i need to insert the current...

Map route on android

I've gt this map route to work on iOS. Now i want to do it on android. What are the steps needed to make it work on android? This is the code that works on iOS: ~~~ var route = { name: 'Exercise Route', color: "#00f", width:...

Map direction with ios6

I'm working on map application for iOS 6. I'm new to this. So, I have a point in map that is determined by its longitude and latitude. Now I want to create a route from my current position to the point that I have earlier. I'm not sure how to do it so any...

Possible to assign multiple point arrays to a single route?

Hello, is it possible to attach multiple *points* arrays to a route, or do I have to create separate routes? For example I have: ~~~ somePoints.push({ latitude : pointRsFirst.fieldByName('latitude'), longitude : pointRsFirst.fieldByName('longitude') });...

addRoute for Android SDK 2.1.0

the release note said that addRoute is now supported on android. So i copy the code (worked on iOS) to Android, but it causes error ~~~ var route = routeInfo = { name: "Route " + (i + 1), points: route.points...

How to update route and map for Android?

I used to use boydlee's SDK with route support and have recently updated to the latest SDK. Unfortunately the only properties of the route support are add or remove route. This is great when I already know the lat/lons but what about a route that is in...

Map routing

Hi! Im looking at the KitchenSink map route example. Are there any automated way of creating the included route.csv ? Are all the coordinates inserted manually ?

Map Polyline Support on Android

I have a iPhone app that has a "Tours" section that draws a polyline route on the map and drops pins that are places of intrest along that route. You can see what I mean at http://keywestlocalguide.com/images/Screenshot_8.png I my team started...

Unofficial Route for Android

Hi, not a question, but for those who are interested, there is an unofficial 1.8.1 build with route for Android at Boydlee web site : http://boydlee.com/appcelerator-titanium/new-for-titanium-sdk-1.8.1-addroute-support-in-android-for-titanium.html Note for...

Android route suport

For now the Map route functions are missing on official Android SDK and it's a big miss for me. I have seen this : https://jira.appcelerator.org/browse/TIMOB-1343 So is it already implemented in a beta sdk version that we can download ? Regards

Defining route crashes app

I have a map view that's working nicely, but now I need to be able to add a route. Routing doesn't appear to be documented very thoroughly, so I'm hoping I've just missed something. As you can see, I haven't even added the route. Simply defining it seems...

auto generate route from current location

How do I generate a route from the user's current location to a destination point? I found the KitchenSink codes that does it by reading from a CSV file. Is it possible to automatically generate the CSV file on the fly instead of hard coding it on a file?...

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...

Routing - useless?

In my app, I'm letting people add address they plan on visiting and want to be able to have it route from the current location to the destination. I have it working fine in that I can click the annotation and it will open the link in the Maps app and plot...

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...

Annotation accuracy

I have a map with a route and an annotation at the center of the route to label it. The route and annotation use the same string of points and all points show 12 places after the decimal point. The mapview loads with the route in the correct place, but the...

Showing 1-39 of 39