bing-maps

Bing Maps API v8

老子叫甜甜 提交于 2020-01-17 06:40:26
问题 I'm moving stuff from the v7 to the v8 Bing Maps API. I'm using the async load and a callback to trigger the map. However, in my "site" page I'm getting the following error (in a simple test page it all works fine with nearly the identical code): mapcontrol?callback=loadMap:12 Uncaught TypeError: n.open is not a function at Object.send (mapcontrol?callback=loadMap:12) at y (mapcontrol?callback=loadMap:12) at v (mapcontrol?callback=loadMap:12) at i.c [as resolve] (mapcontrol?callback=loadMap

Bing maps with VB

元气小坏坏 提交于 2020-01-17 03:37:58
问题 Hi I have written a piece of code which allows the program to take a postcode from a text box then type it into Bing for the user. This works perfectly fine when I use www.bing.com but if I was to use http://www.bing.com/maps/?mkt=en-gb so that the postcode is type directly into Bing maps then it crashes. I have included a copy of my code which works with the standard Bing search but would like some advice on allowing the program to search directly into Bing maps without the program crashing.

How accurate are geocoding API's and what is the most accurate?

偶尔善良 提交于 2020-01-14 09:47:06
问题 I'm creating an application with google maps api with geocoding functionality. Obviously, I want to use the api that is the most accurate. I'm giving the application an address and I need to find it on a map, but I would be ok with just finding the latitude and longitude, and then I can use that to incorporate it into whatever map api I choose. Out of your experience, which api is the most accurate? Google, Yahoo, Bing, etc. And if you could give an approximate percentage that would be great.

Load BingMaps API on runtime

徘徊边缘 提交于 2020-01-07 03:36:17
问题 I am trying to load the Bing Maps API during runtime of my JavaScript file. Here is what i have got so far, based on this. var bingmap_link = 'https://www.bing.com/api/maps/mapcontrol?callback=loadMapScenario'; $.when( $.getScript(bingmap_link), $.Deferred(function( deferred ){ $( deferred.resolve ); }) ) .done(function() { console.log("done"); load_bing_map(); }); But i will get the following error TypeError: Microsoft.Maps.NetworkCallbacks.f_logCallbackRequest is not a function So I tried

Bing Maps pushpin icon issues

亡梦爱人 提交于 2020-01-06 17:26:10
问题 I have a custom set of icons I'm setting various pins too. When the mouse hovers over them I'd like to bring them to the front and change the style to a different icon. I use this code to create the pin. OnHover I see the new push pin and on mouseout it returns to how it was. However, it has transparent areas and I can see parts of the non-hover pushpin below it when hovering. For bringing it to the forefront have tried changing the zIndex value and as far as I can tell it does nothing. Do I

Bing Maps (Silverlight) maps - specifying canvas to be at foreground through XAML

空扰寡人 提交于 2020-01-06 04:01:27
问题 Below is the XAML code i have for a Bing Maps Silverlight weather related implementation. Here is what i am trying to do: Have a bing maps with several (over 100) pushpins- on mouseover - show a contentpopup (canvas=myPopup) below. Simple enough. Everything works fine - however, when mypopup displays on mouseover, it is not on the foreground (the other pins appear on top of the contentpopup) - hence making it not very readable. Question: How do i specifiy the myPopup canvas specified in XAML

How can I remove specified pushpins?

 ̄綄美尐妖づ 提交于 2020-01-05 02:52:30
问题 I add pushpins dynamically to a Bing map. I also want to remove certain ones (based on a value embedded in their Tag property). In order to do this, do I need to identify the pushpin's MapOverlay, and if so, how might I go about that? 回答1: I am not sure which environment you are talking about, but it looks like its not windows 8. So here is some code for windows phone 7.1. This assumes that you only have Pushpins in your map's children collection. If you also have other UI elements you would

GeoCoordinateWatcher is not getting GeoCoordinate Speed in emulator?

风格不统一 提交于 2020-01-04 06:33:08
问题 I'm trying out a Windows Phone 7 Maps application which tracks the device. I'm displaying a textblock which updates the current speed using "e.Position.Location.Speed.ToString("0.00")" from the "GeoPositionChangedEventArgs e" argument passed to the PositionChanged event handler of "GeoCoordinateWatcher" object. While debugging the application in emulator, I used a set of previously recorded push pins and played the emulation. The longitude/lattitude positions change properly but the speed is

Directions and Route in iPhone using Bing Map

末鹿安然 提交于 2020-01-03 17:08:08
问题 Can we load a Bing Map in iPhone and show Route between source and destination points thourgh some waypoints. 回答1: Check out the route-me project: route-me This supports slippy map display of all kinds of maps (including Bing Maps) and also allows you to draw routes on top. However you need to make sure to have the right to use the maps in that way (make sure to check the license agreement with Bing Maps). 回答2: Great Blog post with resources for iPhone <-> Virtual Earth Dev Bing SDK for

Google Maps API vs Multimap/Bing Maps API

ぐ巨炮叔叔 提交于 2020-01-03 13:03:10
问题 I want to know if anyone who has experience of using both the Google Maps API and the Multimap API can give a good reason as to why one is better than the other - or maybe a list of pros and cons? I will be working on a complete re-development of a site which currently uses the Multimap (Classic) API and want to consider the possibility of using Google Maps API instead of Multimap (now MS Bing), but I need a compelling reason to justify this decision. The site currently provides a search