I need google earth api for my iPhone application can somebody just provide idea or link?
Sorry, there is no public API for the Google Earth iphone/ipad application. http://www.google.com/mobile/earth/
You can however load custom kml into the application on both devices allowing for overlays, models, tours, etc by using 'My Maps' in a maps.google.com account.
To get your KML into IOS Google Earth
Go to Google Maps http://maps.google.com/
Choose "My Maps"
Choose "make a new map"
Click on "import".
Choose the kml/kmz file you wish to add.
On the iphone/ipad Google Earth Application choose "Layers"
Choose "My Maps".
Choose the map you created in step 2
Your imported kml/kmz data will now show in the IOS application just like in the full Google Earth Client.
Related
I've programmatically created a google map in Android using the Google Map API / MapFragment. I'd like to be able to save this map on my Google Drive (just like you would if you used the native Google Maps android App or the web site - [either of these would create a .gmap link file linking to some data somewhere). Does anyone know how to do this? Basically a "Save My Map to Google Drive" option.
Note: I don't want to save a screen shot.
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.
I used to just be able to have a link to a coordinate on Google Maps, like https://maps.google.com/maps?q=35.7491455078125,139.382995605469
but now that Apple kicked out the original Maps app, and Google has re-launched another one, links like that no longer drop a pin on the maps of iOS users.
Is there a way to drop a pin on a visitor's Google Maps app with the click of a link?
Sounds like the official Maps URLs would work for you. In your example, this should work (and across platforms, too!):
https://www.google.com/maps/search/?api=1&query=35.7491455078125,139.382995605469
You can read the full documentation at https://developers.google.com/maps/documentation/urls/guide
Replace http://maps.google.com with http://maps.apple.com, hopefully that works!
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
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.