bing

Interactive layers in Bing map control for Silverlight 4 and Windows Phone 7

这一生的挚爱 提交于 2019-12-01 12:04:02
When using the Bing map control my app adds an overlay on which to draw position markers as ellipses. Each ellipse is wired to a tap handler which works as expected in the WP7 emulator. Sadly this does not seem to be the case on HTC hardware - the map itself seems to grab all input. Does anyone know how I can fix this. Better still is there a working example with interactive layers? Thx++ If you create a new windows phone 7.1 silverlight application using the default template in Visual Studio 2010, then just copy the following into the MainPage.xaml and MainPage.cs files. You will need to

Custom Rendering in Bing Silverlight Control

橙三吉。 提交于 2019-12-01 11:25:37
I'm ramping up on a Silverlight 2 project that leverages the Bing Maps control. One thing our UX guys are wondering is whether it is possible to customize the look of the map completely. For example, draw countries as simple outlines with different color interiors. Or draw the ocean as white and countries as black dotted shapes. Does anyone know whether it is possible to achieve this level of customization? The MapMode class looked promising, but it doesn't seem to quite give me what I need. Thanks, Kent Kent Boogaart To answer my own question, yes this is possible. Firstly, add your own layer

Custom Rendering in Bing Silverlight Control

你说的曾经没有我的故事 提交于 2019-12-01 09:22:49
问题 I'm ramping up on a Silverlight 2 project that leverages the Bing Maps control. One thing our UX guys are wondering is whether it is possible to customize the look of the map completely. For example, draw countries as simple outlines with different color interiors. Or draw the ocean as white and countries as black dotted shapes. Does anyone know whether it is possible to achieve this level of customization? The MapMode class looked promising, but it doesn't seem to quite give me what I need.

Interactive layers in Bing map control for Silverlight 4 and Windows Phone 7

假装没事ソ 提交于 2019-12-01 07:45:54
问题 When using the Bing map control my app adds an overlay on which to draw position markers as ellipses. Each ellipse is wired to a tap handler which works as expected in the WP7 emulator. Sadly this does not seem to be the case on HTC hardware - the map itself seems to grab all input. Does anyone know how I can fix this. Better still is there a working example with interactive layers? Thx++ 回答1: If you create a new windows phone 7.1 silverlight application using the default template in Visual

Bing image search paging - infinite scroll

别来无恙 提交于 2019-11-30 04:05:12
When you search for images on the Bing search engine, the result is displayed like this: http://www.bing.com/images/search?q=stack+overflow Notice how you can keep scrolling and scrolling and there is not "normal" paging. My question is: How do they do this? I can see there is some ajax/javascript events happening, but the code is not easy to read. I especially would like to know how they know when an "empty box" is inside the users view port. Here's an article about that technology : Eliminate paging results by using JavaScript (ala DZone) : Using Javascript, prototype and PHP. After some

Get business type/industry from Bing Phonebook API

筅森魡賤 提交于 2019-11-29 17:40:47
The below example shows how I'm building the query string that will return a bunch of addresses for the search parameters defined in the query string (in this case, Starbuck's)...I'm wondering if it's possible to use the Bing Phonebook API to define a type of entity that you're looking for e.g. Cafe, Gas Station, Software Company, etc...? function Search(position) { // note a bunch of this code uses the example code from // Microsoft for the Phonebook API var requestStr = "http://api.bing.net/json.aspx?" // Common request fields (required) + "AppId=" + _appId + "&Query=starbucks" + "&Sources

Is there a way to get Bing's photo of the day?

一笑奈何 提交于 2019-11-28 14:59:46
Is there some way I could get the Bing background image programmatically? Bing's API doesn't seem to provide such functionality, perhaps there's another way? I think the best way is immitating the way they do it themselves through their AJAX calls. They call this URL and extract the information through XML deserialization. XML: http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1&mkt=en-US JSON: http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US RSS: http://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-US The mkt attribute can obviously be changed to a

Usage limit on Bing geocoding vs Google geocoding?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 11:36:25
I know that the google geocoding api has a 2,500 hits a day limit before it'll start returning REQUEST_DENIED. How many does the bing one take? I heard that it's unlimited but I had trouble confirming that. Bing Geocoding limit mentioned here : http://prazjain.wordpress.com/2009/07/24/using-virtual-earth-bing-geocoding-webservice/ Just came across this question. It's a bit old but still relevant. For Bing Maps there are two different ways to geocode address. The first is with batch geocoding which has the limits outlined by alfski. The second option is the REST geocoding service which allows

Bing search API and Azure

亡梦爱人 提交于 2019-11-27 07:06:25
I am trying to programatically perform a search on Microsoft Bing search engine. Here is my understanding: There was a Bing Search API 2.0 , which will be replaced soon (1st Aug 2012) The new API is known as Windows Azure Marketplace. You use different URL for the two. In the old API (Bing Search API 2.0) , you specify a key (Application ID) in the URL, and such key will be used to authenticate the request. As long as you have the key as a parameter in the URL, you can obtain the results. In the new API (Windows Azure Marketplace) , you do NOT include the key (Account Key) in the URL. Instead,

Usage limit on Bing geocoding vs Google geocoding?

匆匆过客 提交于 2019-11-27 06:18:36
问题 I know that the google geocoding api has a 2,500 hits a day limit before it'll start returning REQUEST_DENIED. How many does the bing one take? I heard that it's unlimited but I had trouble confirming that. 回答1: Bing Geocoding limit mentioned here : http://prazjain.wordpress.com/2009/07/24/using-virtual-earth-bing-geocoding-webservice/ 回答2: Just came across this question. It's a bit old but still relevant. For Bing Maps there are two different ways to geocode address. The first is with batch