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
1
vote
2 answers

VirtualEarth: determine min/max visible latitude/longitude

Is there an easy way to determine the maximum and minimum visible latitude and longitude in a VirtualEarth map? Given that it's not a flat surface (VE uses Mercator projection it looks like) I can see the math getting fairly complicated, I figured…
Serguei
  • 2,910
  • 3
  • 24
  • 34
1
vote
1 answer

Why does the infobox in my MSN Map not close?

I'm having a bit of trouble with this map, invoked by the "View our interactive map" button in the middle of the content area. If you double click a point such as 8 which causes a zoom and then afterwards it causes the info box to appear, the hide…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
1
vote
3 answers

Virtual Earth / Bing Maps - How To Calculate Best Zoom Level

I'm working on some map stuff and I'm stuck with something that seems to be quite basic. The gist of what I'm doing is adding 10 flags to a map, and I need to dynamically set the zoom level and center of the map based on the position of the pins…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
1
vote
1 answer

VEMap: pan and zoom work separately; together, zoom no longuer works

I was trying to make Bing Maps's VEMap compatible with touch devices, in particular the iphone / webkit mobile. In the following example, this works: - pan using one finger - zoom in/out using pinch (two fingers) However if I put both in the same…
wildpeaks
  • 7,273
  • 2
  • 30
  • 35
1
vote
1 answer

Polyline issue at high zoom level in Virtual Earth V6.3 (Bing) map control

I have an app with Virtual Earth V6.3 control, using pure javascript to add polyline, like shown in the following sample code snippet embedded in a single HTML5 web page: …
Alexander Bell
  • 7,842
  • 3
  • 26
  • 42
1
vote
1 answer

Determine if point intersects 35km radius around another point? Possible in Linq?

Assume I have a point at the following location: Latitude: 47°36′N Longitude: 122°19′W Around the above point, I draw a 35Km radius. I have another point now or several and I want to see if they fall within the 35Km radius? How can I do this? Is…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
1
vote
2 answers

Custom Virtual Earth Clustering

I want to implement my own clustering algorithm using this Virtual Earth javascript API: http://msdn.microsoft.com/en-us/library/cc966716.aspx However, the VE engine calls my cluster function once for every shape in the layer. This makes it very…
Andrew Davey
  • 5,441
  • 3
  • 43
  • 57
1
vote
2 answers

virtual earth - Only map is not rendering

I am facing this strange issue. The bing map does not display on my page where as all the controls even pushpins displays properly. I googled a lot and same the functionality is working great in my other project(s) I suspect that something is…
Shubham Bhave
  • 383
  • 6
  • 17
1
vote
1 answer

Implementing a SQL Server 2008 User-defined function in managed code for geocoding

The goal: To create a .NET dll i can reference from inside SQL Server where i can pass in an address & get back a geocode string that i can stick into a geography data type as a POINT using STPointFromText() in t-SQL. I'm using Virtual Earth, I…
1
vote
1 answer

Is it possible to make a Polygon clickable using the Bing Maps API?

I can put a pushpin in the center of each Polygon to achieve a "clickable" region but that is an extra step I'd rather not take.
Mike
  • 97
  • 3
1
vote
2 answers

Controlling Clustered Pushpin's VEShape in VE SDK 6.2

Preface I'm using the newly released Microsoft Virtual Earth SDK v6.2 which has built-in support for pushpin clustering. I realize there are custom ways of doing clustering where my question is easy to answer, but I'd like to leverage the built-in…
Adam Byram
  • 1,422
  • 10
  • 8
1
vote
1 answer

LocationCollection not tagged as ScriptableType but can be instantiated in script (How come?)

I'm working on a small silverlight application that involves passing some data between javascript and silverlight. I am also using the silverlight virtual earth control. The weirdness I have come across is that is possible to register…
1
vote
1 answer

Outputting SQL query results to GeoRSS

I get my information from my SQL query (Name, Description, Latitude, Longitude) but I'm having problems getting it into the proper format for GeoRSS so that it may be consumed by my Virtual Earth map. FOR XML AUTO isn't giving me quite what I want…
jstell
  • 160
  • 1
  • 9
1
vote
4 answers

How to get the closest significant population centre from a latitude and longitude?

I'm currently trying to reverse geocode a series of lat/long co-ordinates using the Virtual Earth/Bing Maps web services. Whilst I can successfully retrieve an address for the positions I also need to be able to retrieve the closest significant…
Stephen Newman
  • 1,977
  • 14
  • 18
1
vote
1 answer

Is there a restriction on MapPoint GlobeControl objects?

I am trying to make a control that makes use of the MapPoint 3d rendering engine. The control gets a GlobeControl (via the GlobeControl constructor) and then renders a 3D map. The problem is that if I try to get another GlobeControl later the…
Kang Su
  • 701
  • 2
  • 10
  • 19