Street numbers in WPF Bing map control

Hello.
I have a problem with map control. I can`t find information about how to display street (building) numbers like in Bing maps on the off site (
http://bing.com/maps)
Can you help me?

The Bing Maps consumer site (bing.com/maps) has a number of features which are not available in the development API yet. A lot of newer features get testd on the consumer site before being rolled out to the API. If you monitor the traffic from the consumer
site you will notice that it is calling a completely different tile set than the API's. At the moment street numbers are not in the API, but they may be in a future release.
http://rbrundritt.wordpress.com

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • WPF Map Control Throws NullReferenceException

    This is a weird problem.  The exception only happens if I have a break point in my project that is hit before the project is fully loaded (before the window appears on the screen).  Not every break point causes the exception.  I have not been
    able to pinpoint what particular break points do and do not cause it.  I think it might be break points that are hit before some event happens on the UserControl that is hosting the map control but if that is the case I am not sure what event that might
    be.  If you remove the break point the application works fine.  Break points that are hit later in the application do not cause a problem.
    Here is a copy of the exception:
    System.NullReferenceException was unhandled
      HResult=-2147467261
      Message=Object reference not set to an instance of an object.
      Source=Microsoft.Maps.MapControl.WPF
      StackTrace:
           at Microsoft.Maps.MapControl.WPF.MapCore.AnimateViewUsingZoomAndPan(Double zoomLevel, Point centerNormalizedMercator)
           at Microsoft.Maps.MapControl.WPF.MapCore.SetViewInternal(Point centerNormalizedMercator, Double zoomLevel, Double heading)
           at Microsoft.Maps.MapControl.WPF.MapCore.SetView(LocationRect boundingRectangle)
           at GeoservicesControls.Views.GeofencingView.<>c__DisplayClass8.<ViewModelChangedCallback>b__0(LocationRect x) in d:\SoftwareDevelopment\AccessibleSolutions\GeoservicesControl\Source\GeoservicesControls\Views\GeofencingView.xaml.cs:line
    121
           at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
           at System.Reactive.Concurrency.ObserveOn`1.ObserveOnSink.OnNextPosted(Object value)
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
           at System.Windows.Threading.DispatcherOperation.InvokeImpl()
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Windows.Threading.DispatcherOperation.Invoke()
           at System.Windows.Threading.Dispatcher.ProcessQueue()
           at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
           at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
           at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
           at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
           at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
           at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
           at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
           at System.Windows.Application.RunInternal(Window window)
           at System.Windows.Application.Run()
           at GeoservicesControl.Shell.Wpf.App.Main() in d:\SoftwareDevelopment\AccessibleSolutions\GeoservicesControl\Source\GeoservicesControl.Shell.Wpf\obj\Debug\App.g.cs:line 50
           at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: 

    The error message indicates that the error was thrown from the GeofencingView.xaml.cs file around line 121. Can you provide the code that you have in that area and the values being used.
    http://rbrundritt.wordpress.com

  • WP8 Map control with custom tiles

    I'm trying to display a map control in my app targeting Windows Phone 8 but I want to use custom tiles from open street map.
    I'm using this line :
    mapControl.TileSources.Add(new TileSource("http://a.tile.openstreetmap.org/{zoomLevel}/{x}/{y}.png"));
    When I launch the app the custom tiles are properly displayed, but there's still the default map tiles underneath them.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.
    I would like to know how I can remove those default tiles when loading custom tiles.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.

    Hi MakanWG,
    You have solved your question in here:
    http://stackoverflow.com/questions/27948331/wp8-map-control-with-custom-tiles .
    Good!
    Vote if help you

  • Bing maps useless outside US?

    I live in Poland, but Bing maps cannot find ANY streets! Street names can be seen on the maps, but search simply doesn't work. "No results found" for ANY address. Google maps had no problems with this. I also travel to Sweden frequently. Here search fails as soon as you use any accented characters. And it doesn't find alternative spellings. For instance, searching for an address like "Ö-street" using "O-street" would have worked in Google maps, but Bing map fails.
    This makes Bing maps absolutely useless outside the US!!! Pretty poor!!!!!
    Is HP not expecting US users to travel outside their country then? And does HP not care about users in non-English countries? I guess so.
    Post relates to: Pre 2 p102una (Unlocked NA)

    I can confirm that - Bing maps are useless in Poland. I don`t know why but it`s not possible to search using street names (on desktop & pre2 version).
    @LazPL: did you try contacting with MS support? Maybe they know something?

  • FireFox 3.6.13. BING Maps are being blocked. New Problem

    I am using Windows XP Pro. FireFox 3.6.13.
    I am having a new problem using Bing Maps.
    When I first go to the Bing Maps page, I can see the map of the U.S. as usual. When I enter the name of a single specific location (e.g. a city name or a street address), the map images will Not display. The screen is blank where I should see a map; however, the information about the location appears on the left side of my screen just the same. I noticed that the image may appear for no more than one second and then disappear. Reloading the page gives me the same result.
    However, this problem does Not occur if I start from the map image of the U.S. and just zoom in on an area. The map appears normally even when I continue to zoom.
    Likewise, the problem does Not occur if I use Get Directions and enter a starting point and destination. The map images appear normal.
    It is only a a problem when I do a search for a single specific location (e.g. city or street address).
    This problem just started about two weeks ago and occurs only when using FireFox. It does Not happen when I use Internet Explorer.
    Thank you.

    See if anything here helps you. <br />
    https://support.mozilla.com/en-US/kb/Images+or+animations+do+not+show

  • Map Control Problem

    Hello all,
    I'm working on a project where maps in windows 8 store app is involved. Here's what happens with me:
    on app start after the main page is loaded I add a map control. After that I get some data from a server using HTTPClient and put the retrieved data in a list. Then I project the list data on the map as markers.
    The thing that happens is that I'm setting the zoom level & the map center values when doing so but, the map doesn't zoom or center as needed. I think that this operation is interrupted resulting to this unwanted behavior. So, any idea ??
    Thanks in advance

    Hi Motasim,
    Which map control are you using, Bing map or some third party map controls? If you are using Bing maps I can help move to the correct forum for you otherwise you probably need ask at the map forum for a better support :)
    Thanks for your understanding,
    --James
    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.

  • Unable to add bing maps to projects references

    I am making a windows store app ( 8. 1 ) with visual studio 2013 and I am following this guide https://msdn.microsoft.com/en-us/library/dn456475.aspx .
    Now I installed the bing maps sdk
    http://i.imgur.com/je6Fxgd.png
    But when I want to add it as a reference I do not see it in the reference menu
    http://i.imgur.com/VIcD5ol.png
    They are also not under any other tab.
    But I know that it is installed. When I look under C:\Users\{username}\AppData\Local\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Bing.Maps.Xaml\1.313.0825.0\ I see a lot of stuff
    DesignTime
    extension.vsixmanifest
    License.rtf
    redist
    references
    SDKManifest.xml
    Xaml-200x200.png
    Xaml-32x32.png
    And some .dll files in the subdirectories. When I try to add those ( in the add-reference window under browse ) I get an error "A reference to ~ could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM
    component."
    I really don't know what to do.
    Oh and yes, I restarted my visual studio 2013 and computer multiple times and yes, I made everything compile for x86.

    That sample and SDK are for Windows 8.1 only...
    For Windows Phone 8.1 applications the Map control is part of the base references.
    see:
    Windows.UI.Xaml.Controls.Maps and
    Windows.Services.Maps namespaces.
    The "Using Bing Maps in Universal Apps" has examples for both Windows 8.1 and Windows Phone 8.1
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • Is it actually ok to use bing maps to project onto webgl 3d models?

    See: http://potree.org/demo/experimental/potree_map_projections/examples/viewer_proj.html
    This is just experimental but I'd love to support Bing in the next stable release.
    The project is a webgl point cloud viewer. Open Source and free to use.

    The Bing Maps tile can be used in custom map controls, however the tiles need to be accessed using a specific method. The URL t the map tiles changes from time to time. This can cause your application to break. To prevent this your application should call
    the Bing Maps Imagery Metadata service when it loads to get the current map tile URL. This also serves as a way to authenticate the usage of the Bing Maps data in your application.
    Documentation
    on this service can be found here:
    http://msdn.microsoft.com/en-us/library/ff701716.aspx
    Making a request to the imagery service like this:
    http://dev.virtualearth.net/REST/V1/Imagery/Metadata/Road?output=json&include=ImageryProviders&key=BingMapsKey
    This will return a response that contains an Image URL property. This URL will look something like this:
    http://ecn.{subdomain}.tiles.virtualearth.net/tiles/r{quadkey}.jpeg?g=129&mkt={culture}&shading=hill&stl=H
    You can then replace the different parts of the URL to create each tile. The subdomain can be a value of t0, t1, t2, t3. Using a different one for each tile request you can increase performance by get around browser URL request limits
    i.e. many browsers allow up to 8 concurrent requests to the same domain. Using subdomains allows up to 8 requests per subdomain. The culture value can be any value that is documented under the imagery section here:
    http://msdn.microsoft.com/en-us/library/hh441729.aspx The quadkey value can be calculated based on the zoom level and the tile you wish to render. Information on the tile system along with
    some useful code can be found here:
    http://msdn.microsoft.com/en-us/library/bb259689.aspx
    http://msdn.microsoft.com/en-us/library/aa940990.aspx
    In addition to this, the query will also return information on the imagery providers and copyright information which should be displayed with the imagery.
    Licensing queries can be sent here:
    http://www.microsoft.com/maps/contact-us.aspx
    http://rbrundritt.wordpress.com

  • How to run "Bing maps" in "ANY CPU" config in XAML?

    In sites, I see ,we need to change config to x86 or x64,to run Bing maps in xaml page
    I need my bing maps to run on a xaml page which has ANY CPU config.Please help

    The Bing Maps Windows Store control uses the C++ runtime. Any app that uses the C++ runtime and is written in C# or VB has to be compiled against each CPU. Any CPU is not an option. Several libraries from Microsoft have this requirement.
    Note that you simply compile your app against x86, x64, and Arm and then upload all three libraries to the Windows Store dev center. This will let users on all platforms access your app using any CPU.
    http://rbrundritt.wordpress.com

  • Bing Maps for Playbook

    Hello community: does bing maps for playbook give spoken directions? Or track your location?

    Chan4k wrote:
    Call it, google, bing or Nokia maps....Everything xxxx..!!!
    That's a pretty comprehensive list. Not much left, except you missed Apple maps, now they really do "need some attention". (avoiding your unpleasant 'merkin phrase).  Not having a phone that has more than a numeric keypad I haven't seen Blackberry maps, are they better?
    Seems such a waste of fuel and effort and aviation time for everyone to repeat what Google have already done just for competitive advantage.  Build a new street and they all have to fly over it again (on a sunny day of course, not cloudy like Apple did. Couldn't see half of England)  

Maybe you are looking for