Bing Map WPF, Windows 10, and VS 2015

From the looks of the
preliminary map control documentation, it looks like the map control is going to be universal and based on the phone version of the map control.  That's great - I look forward to getting some of phone's features!  However, the documentation only
mentions the phone-style way of putting in license keys, meaning you need to have an application ID.  Is this just a matter of some documentation that hasn't been put in yet?  Will we still be able to use our Bing session ID once we've established
out Bing Key is valid?

Very soon you will be able to create special Bing Maps keys that can be used as an application ID through the Bing Maps portal. There is lots of documentation on the Windows 10 maps control in the works.
http://rbrundritt.wordpress.com

Similar Messages

  • How to calculate the area of polygon in WPF Bing map?

    Hi everyone, I have a polygon on Bing Map WPF and want to calculate its area in square feet. I used a list contained all points of the polygon to calculate using this formula: area += (point.X * nextPoint.Y - point.Y * nextPoint.X)/2. However, the result
    is too large. For example, I calculated a rectangle of 57ft and 80ft and the result was 58000. It's supposed to be 4560. Do I need to convert points to feet? Could you help me to solve this? Thanks a lot.
    Here is my code:
    double area = 0;
    double area2 = 0;
    for (int numPoint = 0; numPoint < inputPoint.Count - 1; numPoint++)
    System.Windows.Point point = inputPoint[numPoint];
    System.Windows.Point nextPoint = inputPoint[numPoint + 1];
    area2 += point.X * nextPoint.Y - point.Y * nextPoint.X;
    area = area2 / 2;

    Calculating the area of a polygon on a map is very complicated as the world is a sphere and you are actually trying to calculate the area of a polygon stretched on the surface of a sphere. Since you are using WPF I'd suggest to make things easy and make
    use of the spatial library available in SQL server. All the spatial functionalities in SQL server are available as a dll which you can use in your WPF application. You can easily use this library to calculate the area of a polygon accurately and do a lot of
    other really powerful things as well. To start off with, if you have SQL instelled you can find the SQL Spatial Library (Microsoft.SqlServer.Types) located in the C:\Program Files (x86)\Microsoft SQL Server\110\Shared directory. If you
    don't have SQL Server installed you can download the express version for free from here:
    http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx
    Take a look at this hands on lab for information using SQL spatial tools in .NET:
    http://view.officeapps.live.com/op/view.aspx?src=http%3A%2F%2Fecn.channel9.msdn.com%2Fo9%2Flearn%2FSQL2008R2TrainingKit%2FLabs%2FUsingSpatialDataInManagedCode%2FLab.docx
    Once you have this library you can create an SQL Geography object from your polygon. Once this is done you can then use the STArea method to calculate the area of the polygon. There is a ton of other spatial methods available as well which you can use to
    create a really powerful mapping application.
    http://rbrundritt.wordpress.com

  • Can I use the new Bing Maps control released in Feb 2015 in my windows store app?

    Can I use the new Bing Maps control released in Feb 2015 in my windows store app?  If not, will there be a release of the store app version that has all or most of the updates that are in the new map control for WPF/Silverlight?

    The FEB 2015 release was for the WPF map control which is for desktop only. There is an existing Bing Maps SDK for Windows Store apps which has a lot more functionality than the WPF map control already. You can find this SDK here:
    https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
    You can find documentation this SDK here:
    https://msdn.microsoft.com/en-us/library/hh846481.aspx
    Also, I have written a free ebook on this SDK here:
    https://rbrundritt.wordpress.com/my-book/
    You can also find lots of code samples here:
    https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=Topic&f%5B0%5D.Value=Bing%20Maps&f%5B1%5D.Type=Platform&f%5B1%5D.Value=Windows%20RT&f%5B1%5D.Text=Windows%20Store%20apps
    You can also find a bunch of blog posts on this control on the Bing Maps blog. Here is a filtered list of blogs for Windows Store Apps:
    http://blogs.bing.com/maps/tag/windows-store-app/
    http://rbrundritt.wordpress.com

  • Thank you to the WPF Bing Maps Control developers and Ricky

    I just want to say thank you for the effort that the Bing Maps Team has put into updating the WPF Control.  It is greatly appreciated.  Those of us doing desktop development sometimes feel left out, and the recent updates go a long ways
    to helping us do our jobs.
     I look forward to bigger and better things in the future once the Microsoft direction for the desktop is made clear.
    pmont

    Glad to hear your happy with the updated control. All the credit goes to the developers. I only posted info on the forums, they did all the work.
    http://rbrundritt.wordpress.com

  • How to use offline map for windows store app using c# and xaml

    Hi friends,
    I want to integrate offline map in my windows store app but I am not able to achieve that.
    Below is my requirement:
    When a user wants to go somewhere where she/he doesn't want to use wi-fi or mobile data but wants to use map to assist her/him to roam around. For this I want to give an option to download the map for that region/area before leaving for that place and there
    she/he can use map even in offline.
    Is it possible that I can achieve this using Bing maps?
    If yes then tell me the processes to follow.
    If no then can I achieve this using "Here" or by using any other API or by tweaking any way?
    Note: I am showing maps in case of online and user can search for directions or any places in that. I am using Bing maps for that.
    Thanks,
    S.Sandeep

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Nokia maps on Windows phone 8 - detail and resolut...

    Hello,
    I can't really use nokia maps with satellite view, since I will nearly always get low resolution landsat image material instead of the high res images I've already known from windows phone 7.5 and bing maps (I thought bing and nokia were working together??). --> compare attachments: nokia maps on wp8 vs. maps.bing.com
    Blending between zoom levels is a catastrophe (compare to google maps, that's the way it should be done, lower zoom levels interpolated from higher zoom levels). Often some layers or the whole material is missing and you will get maps like the attached one, even after some minutes of loading (wlan or 3g/LTE... doesn't matter).
    Attachments:
    wp_ss_20121205_0001.png ‏577 KB
    Unbenannt.png ‏579 KB

    Because I haven't written it in the upper posting: The shown map area is exactly the same.

  • I can't remove Bing. I've tried Control Panel, the article "Removing the Search Helper Extension and Bing Bar," and I have had no luck for Windows 7 and Firefox.

    I can't remove Bing. I've tried Control Panel, the article "Removing the Search Helper Extension and Bing Bar," and I have had no luck for Windows 7 and Firefox.
    I wish I could share the two screen shots I took, but this question site doesn't have the option, so I guess I'll describe where Bing is showing up.
    In the left hand of my browser, just to the right of the back and forward arrows, there is speech bubble with a black eye ball or something. I found out it's Bing-related by clicking on it. There is no option to remove it with either left or right clicking on it.
    Also, in the right hand corner of my browser, at the very end of all my tabs, there is a white rectangular box with an orange "b" and a magnifying glass symbol. It will not respond to anything I try to do to it either, but if clicked it opens a new tab with a Bing search dialogue box.
    Finally, any new tab I open automatically opens to the Bing search dialogue box (versus Google).
    I need to get specific, step-by-step instructions for removing this Bing stuff from my computer. As I said, I have already gone through all steps outlined in the article I mentioned above as well as not been able to locate Bing in my control panel.
    Please help. I'm certain others are having this same issue. I use Windows 7 and Firefox. Thanks.

    Apologies for the formatting there. No idea what went wrong...

  • Bing "Map It" not showing up in any window accept when imputing a contact for the first time

    Bing's "Map It" function that is supposed to be present in office 2013 through emails is not... ive tried many different tests trying to input the addresses in different formats and there is no ability to get a map to the location. Maybe i am
    just missing something? Also i was wondering if there is a way to get the "map it" function to work through the calender? It would be ideal if i could pull maps up when looking at an event that i have scheduled (all my events include the address
    of each job as they are scheduled jobs for my employees).

    bing maps link only displays in Outlook 2013 (or OWA) if an address is detected in the message. This only works if you have an Exchange 2013 email account.
    Map it button is in contacts and works with all accounts.
    If you want to have a map link in the calendar, you need to use VBA. I have a sample macro at
    http://www.slipstick.com/developer/use-vba-to-map-a-contacts-address/ that maps contacts using different services. It could easily be changed to map appointments (which i think
    i will do next).
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Zoom level in WPF Application consuming Bing Maps Web Services

    Hi,
    I am having trouble in setting the zoom level for the map with 7 pushpins (P1 through P7). The map is centered with point P1. I want all the push pins to show on the map. I have set the zoom level as follows.
    Zoom Level 15 - if the points (P2...P7) are within 1 mile from P1
    Zoom Level 14 - if the points (P2...P7) are between 1.1 and 1.5 miles from P1
    Zoom Level 10 - if the points (P2...P7) are > 1.5 miles from P1.
    If there a better way (like autozoom) to do this?
    Thanks.
    Regards, Venkat

    Rick,
    I have attached the map generated using SOAP services.
    I tried to generate the same map using REST services as follows.
    http://dev.virtualearth.net/REST/v1/Imagery/Map/Road?mapSize=640,480&pp=36.150928,-83.439971;10;S&pp=36.171645820140839,-83.410888686776161;32;S1&pp=36.168693,-83.415779;32;S2&pp=36.185192,-83.435401;32;S3&pp=36.140907,-83.472549;23;L1&pp=36.174339,-83.425415;23;L2&pp=36.17805,-83.433433;23;L3&key=BingKey&format=jpeg
    The REST services map looks like its zoomed in compared to the SOAP services map. However the road/street names are missing. Is there any way to get the road/street names in the REST services map like in the online bing maps? Please advise.
    SOAP SERVICES MAP
    REST SERVICES MAP
    Regards, Venkat

  • Windows 7 and Mac Lion partition maps don't match

    I recently upgraded the hard drive in my late 2008 Macbook, and I wanted to copy both my Windows 7 and OSX Lion partitions. I used Time Machine to back up my Lion partition and Windows Backup to back up 7. Then I switched the hard drives, restored Lion with no problem, partitioned the drive into two bigger parts than were on the old harddrive, and restored 7. My problem is this; Disk Utility in Lion shows the correct partition sizes (420 GB for Lion, 480ish for 7), but the Windows 7 Disk Management shows the old partition size (150ish for Lion, 160ish for 7). The rest is just shown as free space. I've tried using the "extend file system into free space" option in Windows 7's Disk Management, but that overwrites most of Lion's data (since Disk Management thinks that its free space). My question is how do I get the partition maps to sync up? I have rEFIt, but when I tell it to sync partition tables, Windows 7 crashes and won't start without a reboot. I'm starting to hate Windows 7...

    From your posts I assume that you have 3 drives:
    drive A - new internal with MacOSX and Boot Camp/Windows partitions.
    drive B - the original internal with MacOSX and Boot Camp/Windows partitions.
    Back up external drive(s) with TimeMachine  and Windows Backup.
    Forget the Backup Drive(s) for now.
    You will need a way to connect the original drive to the Mac via USB . If it is not in an enclosure then one of these connectors will do the job.
    http://eshop.macsales.com/item/NewerTech/U3NVSPATA/
    http://www.granitedigital.com/usb20tosataideharddrivebridgeadapter.aspx
    I think you will need to use Winclone as Paragon is a windows startup application and I don't dee how you can do that unless you reinstall the original drive B (can't start Windows from an external drive). There is a Paragon recovery CD you can burn but I don't know what the limitations are with burning from the Mac. Maybe check with the company.
    Since drive-A has a good mac OSX install you need to clone the Boot Camp/Windows partition from the original drive-B to new drive-A. You should start up from drive-A and connect drive-B. Use Winclone to replace the drive-A Boot Camp partition with the original drive-B Boot Camp partition.
    If the Paragon recovery cd will work then you start from this disk and clone the original drive-B Boot Camp Partition to the new drive-A Boot Camp Partition.

  • HT5429 How do I view Apple Maps on Windows and Mac?

    Apple must be smoking something good if they think Apple Maps can be improved without allow users of Mac OS, Linux and WIndows computers see and edit the maps somehow.
    Which raises the question: how do I edit my Apple maps listing?
    On Google Maps it is free and easy to claim and edit Google maps listings.

    You don't at this point. It's not available on the Mac or the PC.

  • I downloaded HP bing bar in my laptop with windows vista and IE9 64 bit Nothing happens

    After i downloaded Bing bar and clicked the activation for smart print nothing happens. It shows that the bar and smart print have been downloaded and htey are in the list of add-ons but the bar does not show
    On the contrary I have an old desktop with windows XP and IE8 i did the same and the bar and the smart print icon shows and work
    What is the problem with the laptop which is the one I use the most and take it with me when I tavel?
    Please HELP!!!!!!

    Hmmm, can you try reinstalling HP Smart Print using the same document I sent before:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01812475&cc=us&dlc=en&lc=en
    1.  Expand the + sign next to I have never used HP Smart Web Printing.  How do I download HP Smart Print?
    2.  Follow the instructions under Step one: Download and install HP Smart Print
    **Note, I believe this download will install HP Smart Print, but not the Bing bar.
    If you want the Bing bar, you can try re-downloading at:
    http://www8.hp.com/us/en/partner/microsoft/bing-bar-for-hp/smart-print.html
    Thanks!
    Tara
    **Although I am an HP employee, I am speaking for myself and not for HP.

  • Windows 8.1 "No mapping between account names and security IDs was done"

    Hi,
    A week ago, I had a problem with my laptop in which the explorer.exe was restarting itself, when I was trying to fix it, I ran the Sfc/scannow, and it turns out, there were some files broken, then, following the instructions here of how to replace the files
    manually, I get to the Command prompt, and used the command "takeown", but when continued to the "icacls" command, it shows the message:
    "No mapping between account names and security IDs was done. Successfully processed 0 files; Failed processing 1 files."
    I didn't understand what was that, and in the page didn't said anything about that message, I thought that the explorer.exe problem also corrupted this solution, in the end, turns out, it was a third party program which was incorrectly un-installed, I fixed
    and forget about the other problem, until today when I was trying to open Word, when it turns out, that Office was "installing", something that doesn't make sense as I already had it installed and worked on it in the past. But when it's close to
    the finish, it shows, Error 1920, and that I don't have the requeriment grants, later looking on the internet, there was this "solution" (since I couldn't test it, I don't know if it works) saying that I have to user the command "icacls",
    but any time that I try, it says "No mapping between accounts..." therefore, I couldn't solve it that way.
    I don't know what exactly to do, since I don't understand exactly what I broke, hope you can help me, and thanks in advance.

    Hi,
    According to your description, the current problem is your Office program.
    If I am right, there is no any other problem on your system. It narrows down to the Microsoft Office program issue.
    Please run with safe mode to troubleshoot:
    1.Click WIN+R;
    2.Type Winword.exe /safe;
    3.Press Enter.
    If the issue would be gone in safe mode, it indicates the issue is caused by add-ons, please disable the add-ons one by one to clarify which one is culprit.
    If the issue still persists, go Office forum for further help:
    http://social.technet.microsoft.com/Forums/office/en-US/home?category=officeitpro
    Meanwhile, I would like to suggest you use System Restore to roll back to a previous time when everything worked fine.
    How to  refresh, reset, or restore your PC
    http://windows.microsoft.com/en-IN/windows-8/restore-refresh-reset-pc
    If I misunderstanding, please correct me.
    Karen Hu
    TechNet Community Support

  • I just want HP Smart Print for Windows 7 and IE9. Must I also get BING Bar?

    I want to download HP Smart Printing for Windows 7 and IE 9. According to the HP website, I can get this download only by also getting the BING toolbard, which I do NOT want.
    How can I just get HP Smart Print?
    Thanks.

    The terse version of the answer would have been "You can't.".  The detailed answer is something like the following:  HP Smart Web Printing was an add-in supported on versions of IE6-IE8 and at one time on Firefox 3.5.  Some time ago this application was retired and replaced with HP Smart Printing.  Smart Web Printing (currently) requires IE6 - IE9 and it also requires the Bing bar.  There are third party applications that may meet your requirements, but for HP Smart Printing you will need to install the Bing bar.  A Google search may turn up some alternatives.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Google maps causes firefox to crash, I get script stop error message and every window freezes and then crashes

    Hi, I use Google maps a lot everyday, and ever since this new firefox update and the new google update it cause firefox to crash. So I basically the the stop script message after window lags and doesnt load, and then it just shows me on all the firefox windows that are open "not responding". Basically I cant do any anything after that except end task everything or firefox just closes by it self. Please help out

    unfortunately those sites don't help me. Here is a message I get, it only happens when I'm using Google maps in Firefox.
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/399b/maps2/%7Bmain,mod_util,mod_act,mod_act_s,mod_actbr,mod_appiw,mod_lt_j,mod_mssvt,mod_rst,mod_strr%7D.js:903

Maybe you are looking for