I'm building a cross-platform HTML5 app which needs to contain a map. Google Maps and Nokia Here Maps work well on all other platforms, but Windows Phone's browser behaves oddly. The map can be moved around, but I need another finger on the screen for the panning to work with another one.
Can anyone give me a proper solution what maps should I use or how do I make Google Maps or Nokia Here Maps work? The only feature I need from the maps is that I need to put pins on it that open an overlay box when clicked.
Related
Or can you embed Google Earth directly even though the Earth API is deprecated and their documentation page is mostly disabled. Im trying to have a website that works in the current version of Chrome and uses a 3D google earth. Any way on how I can do this, or are there any alternatives to utilize a 3D globe in your website.( I'm building on rails) Also any know why it was depreciated?
At the moment it is not possible to include the Google Earth 3D View with the maps API, but Google already announced that 3D is "in their blood" and so there probably will be an integration into the maps api some day (because the Earth view actually is already included in the official maps web application).
One reason the Google Earth Plugin was deprecated was the fact that the plugin is based on NPAPI and Chrome doesn't support it anymore because of security issues.
A alternative could be Cesium.
I have links that go to Google Maps, but now since Apple updated to their own service my iPhone goes to the Google Maps website. Is there a way in HTML to show the Apple Maps link, when it's iOS6, and show the Google Maps link for all other devices. I am using ASP.NET MVC.
The solution is even easier than that and won't require any conditional statements:
When clicked from an iOS6 device, links to
maps.apple.com/maps?q=cupertino are opened in Apple's native
mapping application.
But on other mobile devices and computers, it redirects to Google
Maps (at maps.google.com/maps?q=cupertino) instead.
So at this point, all you need to do is include the Apple Maps link and it should work as expected on non-iOS devices.
I mentioned this in a recent post that also touches on whether the same parameters can be used.
I'm trying to port existing wp7 app to wp8 and there is problem with maps. Map is made from 6 tiles. Everything is working well, but pinching is terrible. Works much worse than on WP7.
Anything changed in WP8? What I have found is small information from microsoft presentation which says that in WP8 some things from pinch and strech were improved
Extends the ManipulationDeltaEventArgs class
PinchManipulation property
Provides center point for the original and current gesture
my 0.02$: On WP8 you should move from Bing Maps to using the new Nokia Maps control # http://www.developer.nokia.com/Resources/Library/Lumia/guide-to-the-maps.html
If you have just ported your app to WP8 from WP7 then everything should work as before. The only problem might be if you have hardcoded some display resolution values in your app, for computing the pinch gestures for example, and the app in now running on device with 720p display - it has height 853px instead of 800px.
Anyway as Justin noted you can switch to new Nokia maps in WP8, but you can still use Bing maps as well, although they are deprecated on WP8. You just have to reference new WP8 Bing maps library in folder:
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Libraries
I try google maps in default web brouser on my Sony Ericsson Active (android 2.3.4), but I found that multitouch zooming doesn't work.
Is google maps api v3 support multitouch zooming or anybody know scripts for this.
UPDATE
I found next information: http://www.html5rocks.com/en/mobile/touch.html:
On the Android Gingerbread Browser (tested on Nexus One and Nexus S),
there is no multi-touch support. This is a known issue
(http://code.google.com/p/android/issues/detail?id=11909)
And this feature implemented in android 4.0 (http://code.google.com/p/android/issues/detail?id=11909#c19).
Yes, the google maps api v3 supports multitouch. It's possible to see it on a iOS with the Safari. I think the browser is the problem on android devices. It does not send the touch events to the map, because it interprets the touch commands as webpage zoom. So it seems to be currently not possible to use multitouch with google map on androids default browser.
I have to let user know their current location (street location) with Google Map, on my Website which will be accessing via Mobile Phones / Mobile Devices. How can it be done?
Note: Direct via Website. No native App will be using.
For starters, this will only work on a mobile phone that supports W3C Geo API. You can find that list on quirksmode.org.
Given a mobile phone that supports this, follow the example in the Google Maps API docs where you use the GeoLocation API to get your longitude/latutide, and then use the standard Google Maps API to center a map on screen at this location.