Questions tagged [bing-maps]

For questions about the Bing Maps API, a cloud mapping platform provided by Microsoft's Bing. This API is used to power map experiences in Microsoft and third-party applications, including web, Windows Forms, WPF, and UWP applications.

Bing Maps is a powerful cloud based mapping platform provided by Microsoft's Bing.

It powers many map-based services such as the Bing Maps website and a number of Bing applications, including Bing Travel and Bing Weather. It is also often embedded in third-party websites using the Bing Maps API. Bing Maps provides APIs for web, Windows Forms, WPF, Windows Phone apps, and Windows UWP applications.

Technical support

Resources:

2676 questions
6
votes
3 answers

How to correctly get the bounding box using LocationRect.fromLocations() when locations span 180th meridian?

I'm using the v7 Bing Maps Javascript "control" (I don't know why it's called a "control"...). I'm calling Microsoft.Maps.Map.setView({bounds: bounds}) and it isn't working as I would expect or desire. I have a set of Polygons with points that span…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
6
votes
3 answers

Bing Maps API - Remove Pins

I've got a select box which allows the user to toggle between various lists which populate a bing map with points. However when they select a different location from the list I need to remove the old pins before plotting the new ones. Any ideas, the…
CLiown
  • 13,665
  • 48
  • 124
  • 205
6
votes
2 answers

Multiple Pushpin with infobox in Bing Map

I am trying to add multiple pushpin with separate infobox. that means each pushpin will have their own infobox with own info. there is a loop.inside that latlng = new Microsoft.Maps.Location(latitude[pointerCount],…
AtanuCSE
  • 8,832
  • 14
  • 74
  • 112
6
votes
5 answers

UWP MapControl crashes after zooming in

I created a simple UWP application with no code, just XAML. If I zoom in to about US state level, the application will crash with an unhandled exception. The event viewer Application Log…
Moshe Gutman
  • 284
  • 4
  • 10
6
votes
1 answer

use KML , address lookup, directions and 'share map' on the same map

I want to use my kml (or xml) file with places, but at the same time be able to search for places, use directions or 'share map' functionality. At the moment when I try to do that in Google or Bing, once I use KML file and search for a new place, I…
Stewie Griffin
  • 9,257
  • 22
  • 70
  • 97
6
votes
3 answers

draggable pushpin windows phone 7 bing maps control

Just wondering if there are any decent resources on how to program a draggable pushpin for a map in a windows phone 7 application. I've had a good look and can only find information about how to do it for a browser application. Ideally I want the…
James Mundy
  • 4,180
  • 6
  • 35
  • 58
6
votes
2 answers

WP7 Bing Maps 'Invalid Credentials' Error

I'm trying to use a bing maps control on a windows phone 7 silverlight application and it shows this error overlaid on the map. Invalid Credentials, Sign up for a Developer Account I've tried using app IDs from these two sites:…
Joel Martinez
  • 46,929
  • 26
  • 130
  • 185
6
votes
1 answer

How do you cluster push pins in the Silverlight Map Control?

I have a Silverlight app where I'm using the Bing Map control and I've got about 2000 push pins. The performance is a bit sluggish, and I wanted to know how to cluster the push pins to increase the performance.
legion
  • 497
  • 1
  • 5
  • 15
6
votes
1 answer

Remove default controls from Open Layers Bing Map

I am building an App that uses Geolocation using Open Layers loading a Bing Map Layer. I would like to control the zooming just by touch alone and would therefore like to remove the default zoom buttons. Ideally I'd like to at least move the 'i'…
Helen Danger Burns
  • 421
  • 2
  • 9
  • 28
6
votes
2 answers

No more bird's eye view in the Bing Maps V8 API?

It appears that Bird's Eye View is no longer available in V8. Can anyone confirm that this is actually the case or if there is any way of still using Bird's Eye View in the new version? Microsoft's documentation about this is very poor, so I just…
Costin_T
  • 786
  • 1
  • 8
  • 27
6
votes
2 answers

Angular2: ngIf without destroying component

I have a web page with a tab control taking up a portion of the screen. The tabs are shown/hidden using *ngIf and comparing the selected tab against an enum. Thus the components are destroyed / created every time the user changes tabs. Usually…
JALLRED
  • 855
  • 1
  • 11
  • 23
6
votes
2 answers

Bing Maps Ajax API https url?

What's the https url for bing maps ajax api? I can't seem to find it anywhere, and am currently using http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3, which is super slow (takes 20-60 seconds to load on each page request!)
Justin
  • 17,670
  • 38
  • 132
  • 201
6
votes
1 answer

Efficient/Proper way to add Images to MapControl - windows phone 8.1

I'm developing an App in which the map will be shown to user and I need to add around 10-12 images to the map at different GeoPoints each having 1KB of size. I'm adding those images dynamically as per below: Image img = new Image(); img.Height =…
6
votes
2 answers

How do I get local business results using google maps API

Is there any google/Yahoo/Bing API which gives local business results based on a ZIP/GeoCode of a location? If yes, please let me know. If Google Maps has such service, please let me know what where do I get a reference regarding that?
YCN
  • 667
  • 2
  • 9
  • 25
6
votes
0 answers

Bing Maps setView zoom broken on initialized map

I am trying to add custom zoom buttons to a Microsoft Map that I am instantiating in a constructor function. function Planner(options, $mapPanel) { this.settings = $.extend(true, {}, options); this.$panel = $mapPanel; …