How to show directions in MapComponent in Codenameone - google-maps-android-api-2

I have been able to Display a map with corodinates using Codenameone and Netbeans, now i want to add 2 points and map a direction/route similar to google maps directions.
Does anyone have a sample code for this using the MapComponent with google maps api?
Mike

That's not supported by maps within your application, however you can launch the devices turn by turn navigation app using the Display.openNativeNavigationApp(lat,lon) API.

Related

Is it absolutely not possible to use Google maps in iOS 6..?

I want to know if is it not at all possible to use Google maps on iOS 6 ?
I had one App prepared and now when I am using it iOS 6, It automatically takes Apple maps !
Since I dont want to use Apple maps, So I want to know if any how,Is it possible to use Google maps on
iOS 6 !
You can still google maps, but not on mapkit. The google maps has a very useful API you can use to generate the maps. You won't be able to use MKMapKit thou, but you can use google's static maps API to show the map content.
Edit: here's a new open source project with google maps tile Link and here is a link for the alternative, official, bing maps toolkit Link
The website maps.google.com works fine.
You could now. Google present iOS SDK for iOS 6. http://googlegeodevelopers.blogspot.com/2012/12/a-new-way-to-add-google-maps-to-your.html

Use OpenStreet Maps in my blackberry application

I would like to use openstreet maps in my blackberry application. The idea is the application fetches the current location through GPS/cell tower. The user has an option to click on a button and load the map within the application (same display) below. I have researched a little and BlackBerry maps seem to be limited and Google Maps requires installing a seperate API. I am hoping to fetch and load the maps through http connection (something like a webservice). Can somebody please guide?
I use the nutiteq library its usefull and it implements the openstreet maps in my blackberry. Here are some links quick start nutiteq RIM BlackBerry Mapping API SDK

How to show custom Google Map in iPhone app using MapKit?

Is there any way to show my custom Google map ("My maps" feature in Google Maps) in my iPhone App (MapKit)?
I know I can do some things with the maps using MKAnnotation (http://stackoverflow.com/questions/4651847/google-maps-shading-ios), but I would like to create and edit custom map online (through Google Maps) and then display it on Google Maps (my personal map, associated with specified Google Account) on iPhone/iPad.
Im not aware of anyway you can access your 'My Maps' from within MapKit. One option would be to use Route Me which is an open source map view for iOS. Its fairly well developed now and straight forward to implement. I'm not sure specifically how you would use your maps, but changing a few URLs here and there in the code should do the trick.
At that point, if you're rendering google maps, you should abandon MapKit and use the Google Maps iOS SDK (https://developers.google.com/maps/documentation/ios/start)
I'm not sure from there's a native binding in there to access 'My Maps'.
I recommend you look at MapBox that provide full Map tiles customization as well as markers and overlays that can be used in iOS almost without any effort.

What options are there for displaying a map with a web app on the iphone?

I would like to include a map on a web site optimised to be displayed on an iphone. What options do I have for this?
I use Google Maps Api
Google Maps API Family
You may also be interested to have a look at this:
iphone-google-maps-component
If the website is accessed from a custom native iPhone app, you can use the MapView from the MapKit framework, which provides an interface for embedding maps directly into iPhone windows and views. The MapKit framework uses Google services to provide map data.

Suggestion needed for iPhone Map based App Development?

Hii friends,
i have to create a routemap for a university using maps as i preferred to use Google Maps API to develop it, as it seems easy for me with previous experience with maps API.
Does any Map library available for iPhone beyong google maps?
hey do try Route Me and open source library
http://mobileorchard.com/route-me-an-open-source-map-library-for-iphone-developers/