I understand that mobile web has GPS functionality working(great!), and I'd like to know if it is possible to integrate Google maps. The application basically needs to give driving directions to stored locations and search stored data by location.
Any help / suggestions would be awesome!
Yes, this should be possible. Ti.Map.View has a "userLocation" (bool) flag that you can enable that will draw a little blue dot showing the device's current location. This basically does all the hard work of listening to the GPS and drawing the dot.
To draw a route, you need to use the addRoute() method. The only inconvenient thing is the route is a list of lat/lng points that are used to construct a polyline. So, you would have to get that data from Google's Directions API.
The rest of the turn-by-turn data is easy to get. Here's an example from Google's Directions API docs that shows the "legs", the lat/lng of each leg, and instructions: http://maps.googleapis.com/maps/api/directions/json?origin=Toronto&destination=Montreal&sensor=false.
since mobile web is web... this should not be a problem, can you be more specific with your use case?
Think you can help? Login to answer this question!