OpenLayers with Bing Maps: Where does the data come from? - maps

The street name 'Goethestraße' (52.51623 13.51613) is not rendered correctly on Bing Maps (Göthestraße) of OpenLayers.
What's the source of the data? I ask because Bing shows the proper street name:

I suspect the issue is that OpenLayers is pointing to the older static map tiles of Bing Maps and not the dynamic tile service. As such they are retrieving older map tiles that have errors that have since been corrected in Bing Maps.
Edit (based on #rbundritt's comment below): When configured with imagerySet: 'RoadOnDemand', ol.source.BingMaps displays the up-to-date dynamic tiles.

Related

Simple integration of Bing Maps into WPF application page

How would I go about integrating Bing Maps into a page or frame in my WPF application? I have found a lot of resources for Bing Maps development, but I don't need to develop with Bing Maps, just add the actual thing into my application without hyper-linking out to the website.
Windows 8 applications do this with "contracts" with other metro apps but I do not see a similar functionality with WPF applications.
Thank you!
Just go here and download the control :)
http://msdn.microsoft.com/en-us/library/hh750210.aspx
The control is in the "Bing Maps WPF Control SDK"
If i remember correctly you will need to register for an api key.
UPDATE:
to get the api key you have to register here https://www.bingmapsportal.com/
This was a lot easier than I expected, #Tjofras had a correct answer but here is some more elaboration:
1) Get a Bing Maps developer key for free here - https://www.bingmapsportal.com/
There is a trial version that gives you all the features, but for a limited time and there is a basic version that is free but has limited features.
2) Create a project in Visual Studio for Desktop
3) Check out this article for step-by-step instructions and the exact lines of code to integrate it into your project.
This line goes at the top of your MainWindow.xaml page :
xmlns:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF"
Add the map into your existing grid with your developer key, initial latitude and longitude values, and an initial zoom level with the tags:
m:Map object
CredentialsProvider tag (your developer license code)
Center tag (initial latitude and longtitude)
ZoomLevel tag (how zoomed in you are)
Browse the API's and make your application awesome!

Hiding labels in bing map control api

I am using silver light bing map control api for windows phone 7. I am new to it. I could not get any api I can use for hiding the street labels in the map. Is there some way to achieve the same?
Thanks in advance.
I think, this link may be helpful, which talks about labels in the map to be displayed.
http://msdn.microsoft.com/en-us/windowsphonetrainingcourse_usingbingmapslab_topic2.aspx
http://www.bing.com/blogs/site_blogs/b/maps/archive/2009/12/02/bing-maps-adds-streetside-enhanced-bird-s-eye-photosynth-and-more.aspx

Drawing a route on Bing Maps in WP7 Silverlight

I need to draw a route from my position to a predefined location on a Bing Map. I've read carefully this answer:
https://stackoverflow.com/a/7680787/1233659
But I'm new to WP7, can anybody please tell me the step before using that code; how to add and use the service .
And will that answer be sufficient to draw the rout? Thanks.
First of all you need an account for the bing maps api: http://www.bingmapsportal.com/ If you have an account for bing maps you can request an authorization key, to use bing maps
then you add a webreference to your project that points to: http://dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc
If you added the reference you can use the code that is provided in the answer you linked. If you want additional information about the route servive you can find it at http://msdn.microsoft.com/en-us/library/cc966826.aspx and http://msdn.microsoft.com/en-us/library/cc981072.aspx
Hope this helps

Silverlight simple map tool with zoom and pushpins

I'm very new to Silverlight so bear with me. I need to implement a web page with a zoom-able map of Europe. I need the map to contain pushpins or such like which are generated from a database of lon/lat locations.
If the user hovers over a pin then some data should appear about the location and then if the user clicks on a location and be given detailed information (images, text and other live data) next to the map. Originally I was looking at google maps or bing but as this is to be used commercially and is not going to be public, I am unable to use them for licencing reasons.
I've looked into using deepzoom, which seems perfect but I cannot find any decent ways of adding the pushpins.
So essentially can anyone suggest a tool to allow me to make a zoomable map (I can supply a map image) which can have pushpins generated which can be selected by the user through highlight or click
Many thanks,
Cap
Use Bing Maps Silverlight Control.
Here is preview from Microsoft.
You need Developers Account for using it. Account is free. You can get it here.
Bing Maps control is simple to use, supports pushpins and deep zoom.

get a map with pushpin from Bing [silverlight]

I tried to dvlp an applic for WP7. This applic must "ask" bing services to retrieve a map with pushpins (POI like train stations or metro stations). In my applic I want to get the pushpins collection and use it to do something else.
The matter is that I don't know how to get this map from Bing Maps.
Is somebody have an idea ?
Thnks a lot,
Skil
Have a look at the MSDN article on How to: Use the Bing Maps Silverlight Control for Windows Phone
Once you have a map you can add pushpins where you require them.
You could use the SearchServiceClient to find nearby stations, etc.

Resources