I am using bing map sample application http://code.msdn.microsoft.com/wpapps/Simple-Map-control-sample-fc94908f
When I execute this code I get nothing on my phone screen but just a blank screen
I have turned on location in my device,and also ID_CAP_MAP and ID_CAP_LOCATION in capabilities.However bing sample projects developed for windows phone 7 are working fine on my device after giving my credentials.Can anybody tell me whats wrong with windows phone 8 bing maps?
The device i am using is Lumia 620
Actually it's quite simple:
For Bing Maps add reference to Microsoft.Phone.Controls.Maps. This DLL should be in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Libraries
Than change
xmlns:maps="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
to
xmlns:maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps"
And that's all now you are using Bing Maps
Read this manual Maps and navigation for Windows Phone 8 MSDN
Related
I am trying to mark a location on map using a link in Windows 10 app.
Tried using urlscheme maps:q=<location> and geo:0,0?q=<location> for anchor tag <a></a>.
Both of the URL scheme launches the Map app installed in device, but the location is not getting marked on the map.
I tried geo:0,0?q=<location> for Android and maps:q=<location>for iOS which is working fine.
Got it!
For windows we can use the Bing map app
URL Scheme for searching and marking a location on map in Windows is 'bingmaps:?where='<location>
More details are available at https://msdn.microsoft.com/en-gb/windows/uwp/launch-resume/launch-maps-app
I am planning to integrate google map feature for my Hybrid Mobile Application.
This is targeted for Android,iOS and Windows.
https://github.com/mapsplugin/cordova-plugin-googlemaps
Above cordova plugin only works for iOS and Android, what about windows phone ? Do I need to use deparate Javascript Web API's of google maps to integrate with Windows phone ?
Since I didn't build this yet before, what can I provide you is some tutorials and different threads.
Like the answer in this thread, what you want to achieve is technically possible, but it is not legal. So basically you need a 3rd party app for these to work.
You can use Bing Map Control to use Google Maps in Windows. This tutorial explains everything with sample code and screenshot for you to follow.
For more information check this link:
Windows Phone Doesn't Support Google Maps Because Google Doesn't Want It To
Getting Start With Google Map in Windows Phone 7
I am trying to develop an app that access HERE map through its API to get the direction route using transit (not drive or walking) on WP8.1. When I go to HERE developer website, I didn't see the mobile SDK for windows phone. Is HERE maps API still support for WP8.1? Why can't I see HERE maps and its other apps (HERE drive+, HERE transit) in windows phone app store now? Has anyone tried HERE API in WP8.1 before?
The reason I want to use HERE maps API because the native WP8.1 map API does not return route in transit mode.
Thanks.
It was available 4-5 years ago but not anymore.
I'm trying to build an app for WP8.1 in C#. I want to add the bing maps feature for my windows phone app.
The maps for Windows Phone 8.1 are built into the WP8.1 SDK. No need to add any nuget for WP. You can find them under the Windows.UI.Xaml.Controls.Maps namespace. Below are some links for ref:
http://www.c-sharpcorner.com/UploadFile/020f8f/windows-phone-8-1-map-control/
http://www.jayway.com/2014/04/18/windows-phone-8-1-for-developers-maps/
You can add map in xaml using "using:Windows.UI.Xaml.Controls.Maps" namespace and then from code behind you can set location, icon, or other children.
I am using Xamarin and have tried many Google Map examples. The map is not displaying on any of the emulators.
My question is this: Can a Google Map be displayed on an emulator, or can it only be displayed on a real device?
You cannot use Google Maps in an emulator because it works only in a real device, you have the option to debug directly in a mobile or tablet to show it, or paste your apk and install it later in order to test it.
I guess this is your answer.
Bye
When it comes to Maps v2, you are better off using a device than the emulator.
That said, you can use the emulator. Google Maps is only supported on emulators that are running an AVD that is running the most recent Google API. See comment 29 in bug 57880.