I have a jQuery Mobile web application have I would like to open directions from X to Y in the web version of apple maps to be available in every devices, it this possible?
If so, how can I build a button to link to the directions apple map?
Thanks.
Here is explained how to open stuff in the Maps app. This is what you're looking for:
The following examples show the strings you would use in Safari and in
a native app to show a map of the city of Cupertino, California in the
Maps app.
Cupertino
As for Android devices: Apple maps isn't going to work here of course, clicking the above link would lead to the website as usual.
EDIT
I've created a small fiddle. The following link seems to always open Apple Maps on both my iPhone (iOS7) and iPad (iOS7) and it will even open Apple Maps on OSX Mavericks.
<a href="maps://maps.apple.com/?q=cupertino">
Related
In Android one can use an URI to call GoogleMaps as follows
https://www.google.com/maps/search/?api=1&query=47.5951518,-122.3316393&query_place_id=ChIJKxjxuaNqkFQR3CK6O1HNNqY
As given in this answer.
This query opens the GoogleMaps on Android devices and the place info is shown as in the below screenshot:
I'm looking for a similar result for IOS with GoogleMaps.
I have searched in GoogleMaps SDK documentation and also over the internet but couldn't find an answer.
Can we achieve this for IOS with GoogleMaps?
Yes you can open Google Maps from your iOS App. There is a documentation available for opening Google Maps Via iOS App.
An example would be:
UIApplication.shared.openURL(URL(string:"https://www.google.com/maps/search/?api=1&query=47.5951518,-122.3316393&query_place_id=ChIJKxjxuaNqkFQR3CK6O1HNNqY")!)
For this to work, there should be Google Maps App installed on the device. Though if you have the Placeid and Google SDK installed on your APP then you must have it's Latitude and Longitude. You can open default Maps to do this task for you. This SO Post is a great place to start!
I am looking for launching native iOS device Camera from a Pure web app(launching thru Safari). Not through any Native or Hybrid frameworks. I wondered how this paste html page http://pastehtml.com/view/chh0dj31e.html
is able to directly access iOS device camera through a pure web application, if i launch this link in device safari. I want to develop the same way.
If anyone has any idea, could you share it with me please?
Use the following input tag
<input type="file" accept="image/*" capture="camera">
it will show 2 option with take photo and chose existing.
for more info see this link
I am using basic MapKit functionality in my iOS app.
Is there a way to let my iOS 6 users choose between Google and Apple maps for the mapping data presented within my app? If so, how can I do this programmatically?
No.
You can let users choose between iOS maps and other maps (OpenStreetMap, Microsoft VirtualEarth, CloudMade, OpenAerialMap, OpenCycleMap, SpatialCloud, TileStream7) with route me (on github) or you can go with Bing maps (also a library available).
But you'll have to code for the different libraries as the MapKit Framework is only available for Apple maps in iOS 6.
ClassicMap (GitHub) does exactly what you're looking for. The sample project shows how to add a Google Maps overlay to MapKit and how to switch between Google and Apple maps.
It works well, but zoom levels seem to be limited to Apple's data (I'm pretty sure that the maximum zoom was higher in Google Maps, at least where I live).
i am creating simple application for showing Blackberry map in Blackberry.
i was unable to open BB Map through my app.
so that i try to open inbuilt Map App that is showing following image
i check my MSD setting and my internet is working perfect and i can browse from BB Browser
i am using 9530-Verizon-4.7.0.75
what could be problem??? How can i start BB Map in my Simulator??
The problem has to do with rendering issue in simulator. I've been through this when developing a map based app. Map would not render and would show green field.
This is the official response I got from RIM when contacted with the issue:
Simulator - Blackberry Maps Green Background Issue
Resolution: Advised customer that BlackBerry Maps functionality has
been inconsistent on device simulators. The best method of conducting
this testing would be to test on a physical device.
After trying all possible solutions, I gave up. Note that the issue doesn't occur on all systems. If you have access to any other system, try on it. May be you get lucky.
On the simulator phone go into the wifi settings and select a network to connect to. After that you should be able to use the web browser and map applications without problem.
I want to launch the maps application from my mobile website. How can I accomplish this?
You use simple HTML links; iOS will recognize and open it.
Here is the documentation you need.
Hope it helps!