URL conventions for Maps on Windows Phone 7 - javascript

What is the best practice for opening a map from the mobile internet explorer on windows phone 7? On BlackBerry you use a JavaScript method and on Android/iOS you simply link to a google maps URL.
I am planning to integrate the different ways of opening maps into my mobile geo javascript library and don't have a windows phone device.
http://code.google.com/p/geo-location-javascript/
Thanks,
Stan Wiechers

Use the maps: protocol for WP7. I haven't found any documentation but this works.

There currently isn't a built in way to link to the maps application from within a webpage on a device (or emulator). (Nor is it possible from other apps either.)
I'd recommend linking directly to a mobile Bing page. Such as the following which searches / shows a map for "London":
http://m.bing.com/search/search.aspx?A=mapdetails&L=London

Related

Mobile live geolocation

Im trying to get my Iphones live location to show on a map on my website.
Is there a way to acomplish this easily using HTML5 Geolocation or is it better to use Google Maps Geolocation API, or some other library?
Thanks.
I use Google Maps Geolocation API in WEB APP developed with .NET C #
And it was great
At HyperTrack we have an SDK which you can plugin to your app in as little as 3 lines of code and automatically enable location tracking in your application and view (for free) on our Dashboard. In our Sandbox mode (read: Test Mode) you can track and assign actions for up to 20 users for free as well. This mode also gives you an Action Widget that you can embed anywhere to see the activity of your user(s)/device(s).
For iOS you can visit our iOS Integration Guide.

Launch map app on mobile device with multiple destinations

I'm looking to launch the native map app on iOS, Android and Windows Phone devices with multiple destinations shown in the directions.
Sending basic directions works fine using Google and Apple maps daddr but from what I can there's no way to specify multiple destinations using the map link (example below).
https://www.google.com/maps?daddr=LAT,LONG
I've also tried using a URL to load the desktop version of Google maps (which asks if the user wants to open the app anyway) but multiple destinations doesn't seem to be supported with Apple maps. The code below does work on Android devices but not iOS and Window Phone.
https://www.google.co.uk/maps/dir/Current+Location/LAT,LONG,LAT,LONG
Is there any way to make this happen on iOS, Android and Window Phone devices?
Edit: I need to native map apps to launch as this seems to be the only way to show the navigation (sat-nav like) maps.
searched the web, looks like its not supported on iOS
http://www.macworld.com/article/2687984/how-to-create-multi-destination-map-routes-on-your-iphone.html

Google maps no longer work on iPhone Phonagap App

I have developed a phonegap application in GWT that uses the GWT Api for google maps.
Since recently for iOs5 and iOs6 iphones, the map is no longer displayed, instead I get this message
we are sorry but we don't have maps at this zoom level for this region
What could be the cause?
I've heard that google-maps are no longer installed in apple devices, but I think that this is irrelevant.
I rebuilt the iPhone app and now it works
Counter-offensive from Google?
You don't allow to install our app on your phones, we don't allow your phones to use our API or our site...

JavaScript Google Maps API and web application on IPhone

I have developed a web application for mobile phones that uses JavaScript Google API. It works fine on any Android phone however on IPhone the map is not "dragable" - I can't move the map (I click on a map and try to move it but it stays the same as if I was trying to move a static image). I found some information pointing out that it is a bug on the IPhone side. If it is true - is there any workaround?
The application that I developed is used as a web application using JavaScript Google Maps API V3, not the IPhone application.
Thanks for any suggestions.
Best Regards,
sass.
Are you using click or touch events?
The iPhone won't see clicks.
What is your Device ? All devices don't respond the same way ^^
(so, did you try on latest devices ?)
By the way, you could take a look at http://www.jqtouch.com/ library ^^

How do I detect user's location from a webpage opened in the Android browser?

Visiting www.google.com on the Android browser (or even with an android spoofed user-agent), presents the option to "Share Location". When clicked, it uses the GPS/Cell phone towers to figure out the location. I tried the google.loader.clientLocation but that only works using the IP address.
Is there a method to tap into the Android OS and access GPS data from a regular web application (and not an Android application) similar to the way Google does?
[Perhaps Google uses the Google Gears app on Android to access this data.]
Thanks!
This is an HTML5 API, and it'll work on Webkit-derivatives, Chrome, and Firefox 3.5 (for now).
http://dev.w3.org/geo/api/spec-source.html
http://merged.ca/iphone/html5-geolocation
I was trying that recently and found this forum posting interesting. I did not find a real good way to do this either and it doesn't look like we can do that without writing our own app which opens a browser instance.
http://androidforums.com/support/8868-how-get-gps-coordinates-browser.html
Here is also a nice example: http://klauskjeldsen.dk/w3c-geolocation-api-html5/

Categories

Resources