Questions tagged [virtual-earth]

The Microsoft Virtual Earth or Bing Maps APIs include map controls and services that you can use to incorporate Bing Maps in applications and websites.

The Microsoft Virtual Earth or Bing Maps APIs include map controls and services that you can use to incorporate Bing Maps in applications and websites. In addition to interactive and static maps, the APIs provide access to other geospatial features such as geocoding, route and traffic data and spatial data sources that you can sued to store and query data that has a spatial component, such as store locations.

see Getting Started with Bing Maps

78 questions
0
votes
1 answer

How to Clear entire Shape Layer in Microsoft VirtualEarth 6.3 using pure javascript?

The code snippet shown below (HTML5/javascript) loads Microsoft Bing Map (VirtualEarth 6.3), then adds two Shape layers and two sample Pushpins, one per each layer. QUESTION: What pure javascript function (or solution) to use in order to clear all…
Alexander Bell
  • 7,842
  • 3
  • 26
  • 42
0
votes
1 answer

Bing Map ShowInfoBox() always shows up in the center of the map?

The javascript code is attached below. Two push pins are added to a Bing map. When they are hovered, the description is shown next to the pins. Two buttons are added and ShowInfoBox(shape) is called on the click event. When the buttons are…
Jazure
  • 41
  • 7
0
votes
1 answer

Virtual Earth / Bing maps Javascript file size

I am working with a site that uses virtual earth for its mapping. Unfortunately the file size of the referenced Javascript file, ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2, is 200 something kb before being expanded (to 970kb). As our…
Aquinas
  • 188
  • 2
  • 16
0
votes
1 answer

Virtual Earth Uncaught TypeError: undefined is not a function

I am trying to lazy load a Virtual Earth map in a JQuery UI tab. I also have a Google map in another tab. What I am trying to do is have both maps match the center location when a user moves either map. Here is how I am trying to do the Virtual…
0
votes
1 answer

Detect Pushpins Inside a VE Shape on a Bing Map

I have a map which populates pushpins from a database. And a circle. I want to be able to figure out what other pushpins are within the VE Shape circles radius and create a list of their addresses. function addPushPin(lat, long) { //var…
Benny
  • 155
  • 3
  • 15
0
votes
1 answer

VEMap and a GeoRSS feed(hosted separately)

The scenario is as follows: A WCF web service exists that outputs a valid GeoRSS feed. This lives in its own domain as a number of different applications have access to it. A web page(on a different site) has been created with an instance of a…
Alexis Abril
  • 6,389
  • 6
  • 33
  • 53
0
votes
1 answer

Bing maps get geolocation between two places failes

I use autocomplete for two textboxes. That works fine using this code: $('[id$=PlaceOfDeparture]:not(.ui-autocomplete-input), [id$=PlaceOfArrival]:not(.ui-autocomplete-input)').live('focus', function () { $(this).autocomplete({ source:…
Daniel Gustafsson
  • 1,725
  • 7
  • 37
  • 78
0
votes
1 answer

Bing Maps Transaction Tracking

I have an Enterprise license for Bing Maps which enables me to view my transactions, but what I'd like to be able to is also break the transactions down by user. I'd like to know if certain customers are racking up higher than expected…
cagreen
  • 1,627
  • 1
  • 14
  • 29
0
votes
1 answer

Virtual Earth 6.3 set language

I am loading https://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3 but I'd like to change language dynamically like if I change website language I would change language also in route.Itinerary.Segments[i].Instruction stuff... is there a way?…
Luigino
  • 745
  • 3
  • 7
  • 26
0
votes
1 answer

Maps points of intersection (Common Rectangle Area)

Please help me how to find points of intersection between two rectangular areas... For example: I search the results for the viewable area in virtual earth maps v6.3 The map returned me the top left and bottom right points as latitude and longitude.…
Salman
  • 1
  • 1
0
votes
1 answer

Any API to query the usage of Bing Map API license

We are looking for a API to query usage of the Bing Map API license. Right now, based on reading on MSDN View Bing Map Usage, we could view the usage at Bing Map license account web site, however we would like to embed this usage into our own…
windfly2006
  • 1,703
  • 3
  • 25
  • 48
0
votes
2 answers

Does a Silverlight 3 out of browser (OOB) application support Bing Maps or Virtual Earth Maps?

Is it possible to use any Microsoft Map component / control to integrate a map in a Silverlight 3 out of browser (only) application?
Kai
0
votes
1 answer

Virtual Earth - importing local KML?

I'm currently having some issues testing an app using Virtual Earth locally. I came across this quote on the MSDN forums: "the KML file must be parsed by a VE service and therefore publically accessible." I assume it's correct, since Fiddler isn't…
Cashley
  • 516
  • 5
  • 16
0
votes
1 answer

Sqlserver2008 & Virtual Earth

I am using sqlserver2008 to display information on top of virtual earth.I have written one genericHandler to retrieve data from Sqlserver2008.I am calling handler through javascript.The problem here is when i run handler through broser it is giving…
user98454
  • 205
  • 4
  • 13
0
votes
1 answer

Virtual Earth Shape Rendering Performance

I am overlaying a transparent image on my VEMap control by rendering it as a single VEShape. The shape changes sizes dynamically depeding on the zoom level of my map and can be as large as 4000*4000px. In older browsers such as IE6 and early…
Mike