virtual-earth

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 versions of Firefox 2.x, map control performance degrades rapidly when my shape gets larger than...

Sqlserver2008 & Virtual Earth

Hi All, 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 me coorect feed.But when i try to load call from javascript i am getting the erro...

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? ...

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 population centre for the position so I can display a heading and distance to the centre of t...

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 and I can't seem to find any examples of how to extract the output of a SQL query to GeoRSS...

Obtain coordinates of a point on a road

I have a range defined by an intersection and a number of feet away from the intersection. (e.g. 100 ft north of Washington St. & 5th St. to 300 ft south of Washington St. & 6th St.) I am looking to geocode this into a lat/long pair. However, I cannot see any way to get Google Maps API or Virtual Earth, etc. to do this. They will happil...

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 Microsoft.Maps.MapControl.LocationCollection as a script createable type and instantiate and pass it t...

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 transactions. It's my understanding that the Bing API will allow me to track by client IP, but that do...

Debugging Bing Maps JavaScript errors

I'm using the Bing Maps / Virtual Earth control and it appears to be working, however Firebug in Firefox 3.6 and Chrome are reporting an uncaught exception in Microsoft's mapcontrol.ashx file. I'm concerned that this may be caused by a bug in my code interacting with Bing Maps. As this JavaScript file is minified I can find no way of de...

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. ...

How to show multiple instances of Virtual Earth (Bing) maps in Surface app?

I need to include the Virtual Earth (Bing) map in my Surface application. I'm aware of the solution provided by InfoStrat. Unfortunately that solution allows only one instance of the map at a time. I understand it is a limitation of Bing 3D Maps. In my case I need multiple instances of the map to coexist in my Surface application. I'm no...

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 VEMap(Bing/Virtual Earth map object). Now, VEMap can accept an input feed in this format vi...

Virtual Earth adding pushpins by address - events firing out of order

I’ve been working on a mapping project to display service orders for a utility company but I’m having some issues getting the numbering on my pins and the info boxes. The following is a small segment of the page I’m working with to demonstrate the issue. http://www.evocommand.com/junk_delete_me/virtual_earth_testing/VirtualEarthTest.htm...

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 site runs under https this file is not cached on the client, and can cause a few seconds d...

What mapping/earth controls are available for iPad app development?

What mapping/earth controls are available for iPad app developer? Is MapKit the only one? ...

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 clicked, for some reason, the Infobox always pops up from the center regardless where the pushp...

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 it possible with Linq given the coordinates (lat, long) of both points? ...

Bing Maps Development - Map with Markers

I really like how this site looks: http://www.microsoft.com/web/WebsiteSpark/Catalog.aspx - specifically the GIS part - the map, the green markers, and how the markers on the map our bound to the list below. Would anyone know some resources on how I can get started on developing something like this? This site is appealing and really li...

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 time, then the zoom doesn't work anymore: you can see in the console that VEMap.ZoomIn()...