I have a mapping application that needs to draw a path, and then display icons on top of the path. I can't find a way to control the order of virtual earth layers, other than the order in which they are added.
Does anyone know how to change the z index of Virtual Earth shape layers, or force a layer to the front?
...
The obvious way to plot a path with virtual earth (VEMap.GetDirections) is limited to 25 points. When trying to plot a vehicle's journey this is extremely limiting.
How can I plot a by-road journey of more than 25 points on a virtual earth map?
...
I'm trying to find the latitude and longitude of the corners of my map while in birdseye view. I want to be able to plot pins on the map, but I have hundreds of thousands of addresses that I want to be able to limit to the ones that need to show on the map.
In normal view, VEMap.GetMapView().TopLeftLatLong and .BottomRightLatLong retur...
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 support as much as possible, so this question is specifically related to using the cluste...
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 signed up for a developer account which gave me access to virtual earth staging servers.
I'...
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 slow!
It seems to me that VE should put all the shapes into a layer, then ask my function to...
I'm impressed with the simplicity of Microsoft's Virtual Earth Street Address search service.
My requirement is to type rough address info with no comma separators into a simple text box, press a find button, wait a few seconds and then observe a result picklist.
I mocked up something here using the virtual earth SDK.
Does Google Maps...
Hi Folks,
I have some shapefile (demographic/heat map data in the USA, such as crime in New York) data imported into a sql server 2008 database, field data type: Geography.
How can i get this data, from a select query, in a format which i can then display on google maps or microsoft virtual earth?
thanks!
Edit 1: So far, the best sol...
Is it possible to make Virtual Earth pushpin infobox display respond from onclick instead of mouseover?
Currently I'm using something like this:
...
var pin = new VEShape(
VEShapeType.Pushpin,
[location]
);
pin.SetCustomIcon(icon_url);
pin.SetTitle(title);
pin.SetDescription...
I have two webservices that have exactly the same methods and signatures but point at different servers (specifically the Virtual Earth production and staging environments). I wish to switch between using the production and staging services on the basis of a config setting and don't want to repeat myself and replicate each method where I...
I need to write some code that will buffer a line to create a polygon as shown below.
http://www.sli.unimelb.edu.au/gisweb/BuffersModule/Buff_line.htm
From following the steps outlined, I can create polygon shapes around simple lines that do not cross themselves or have too tight curves, but as the lines I'm trying to buffer are squigg...
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 somebody may know of a snippet to accomplish this.
...
Can anyone recomend a good javascript lib for working with Google Maps or Live Maps(virtualearth )?
Is jQuery og Prototype something to consider?
I think I remember that asp.net ajax had some controls and hooks for working with virtual earth back in the day, but cant seem to find it any more.
Cheers
...
Scenario: I have a list of addresses (they have already been converted to lat/long) and the conference that the person attended.
What I want: I want to add a circle shape to a Virtual Earth map that covers, let's say, 90% of the attendees to a conference. I will repeat this for each conference. This will show me how much the differe...
I'm following the tutorial's that come with the SDK for Microsoft Virtual Earth, and when I try to create a plugin like it says, the compiler won't let me.
I'm extending the class Microsoft.MapPoint.PlugIn.PlugIn and it has two abstract methods (that the tutorial doesn't talk about) which I have implemented. However, when I compile it, ...
I'm writing a plugin for Virtual Earth 3D and I'd like to force rendering frame by frame so that each frame is rendered 100%. Currently when I use it's built in movement methods, movement is more important than rendering, so the frames are blurry to say the least.
Does anyone know how I can do this?
Thanks.
...
I'm moving through the atmosphere with Microsoft Virtual Earth 3D and I can descend smoothly, but I don't know the math to ascend smoothly.
I'm descending like this:
for(int curAlt = startAlt; curAlt < endAlt; curAlt--){
//do something
curAlt -= curAlt/150
}
This works by decreasing the size of the jump the closer I get to th...
I thought of using map in my blog. So which api will suit for me??
I am expecting that map should have more features. I dont know how to use it.. Sorry if my question is silly.
I need docs of both. Please let me know??
...
How will I be able to put a pin using a click of my mouse? given this is the code:
function AddPushpin()
{
var shape = new VEShape(VEShapeType.Pushpin, **map.GetCenter()**);
shape.SetTitle('sample');
shape.SetDescription('This is shape number '+pinid);
pinid++;
map.AddShape(shape);
}
it's pointing to ...
I'm playing around a bit with Virtual Earth to see if we might be able to use it on our website.
We'll be plotting quite a bit of pins and many of them are going to be clustered using the excelent clustering abilities of VE.
I want to perform some action on the cluster shape (bouncing it, actually =) we have a custom div as the icon) w...