Sunday, 05 February 2012

The products listed above, and their associated names, icons and logos, are the intellectual property of Microsoft Corporation.

Virtual Earth Forum
Road Colour Changes (UK)
MSDN Forums: Virtual Earth -

 

Hello All,

 

I was using v5 and just this morning the road colours changed... the map now looks cluttered and old... a bit AutoRoute 02'ish!

 

I have just changed it to v6.1 and still the same unfortunately.

 

Does anyone know how to change back to the old road colours? Or are we stuck with this new look?

 

Thanks,

 

 

Dave


View article..

Virtual Earth autoupgrade 6.0 to 6.1 issues with Information boxes
MSDN Forums: Virtual Earth - We've noticed today that our mapping's information boxes are not appearing since the autoupgrade. The strange this is that when you click on a development by holding down the control key and left click the mouse the information boxes appear.

If anyone can help, it would be very much appreciated.

The url is http://www.savills.co.uk/newhomes/SearchResults.aspx?region=Northamptonshire&minPrice=0&maxPrice=1000000000&bedrooms=0&typeList=House,Flat&categoryList=Open_Market,Shared_Ownership,Retirement_or_Assisted,Fractional_Ownership

or you can just do another search from the homepage to get to the final map.

This mapping was written by my predecessor so I am new to mapping.



View article..

Straight line between two points?
MSDN Forums: Virtual Earth -
I want to plot lines between points on a map.  I am trying to create an origin and destination map and can plot my push pins ok for the origin and destination, but I need to have lines connecting the two, not route lines, just straight lines so I know 1 point is associated with another.  Haven't seen any examples of how to do this.
 

View article..

Custum Pin .png problem
MSDN Forums: Virtual Earth -

first pls excuse my bad english

 

Im working on an virtual Earth Map overlayed on a Silverlightwebapplication.

all is working real fine but when i want to use a custom pin ( it has alpha channel activated )

i cant see throu it its all looking very awfull because i have so many pins on my map.

 

here some code

 

 

unction datenpin(abc, ort, plz, strasse,traktoren, kundenid, cde, hij, imgsource)
{
    if (map != null)
    { 
        //pin
   
       var pin = new VEShape(VEShapeType.Pushpin, new VELatLong(cde, hij));
      
       pin.SetCustomIcon(imgsource); <<< here i define my custom icon
       pin.SetTitle(abc);
       pin.SetDescription(ort + "
" + plz + "
" + strasse + "
" + "Anzahl Traktoren: " + traktoren + "
KundenID: " + kundenid);
       map.AddShape(pin);

 

im working with visual studio 2008 and as browser i use ie7

 

is this maybe an know issue? how do i get my .png shown transparent on my  map?

 

thank you for your time


View article..

GetBoundingRectangle();
MSDN Forums: Virtual Earth -

Hi everyone at Microsoft

 

Can you please make the map.SetMapView(myLayer.GetBoundingRectangle()); zoom OUT 1 notch more... PRETTY PLEASE!, it's hard work looking for icons under the map control, if you can just set it to zoom out a little more, this would be TOPs

 


View article..

Client Token...
MSDN Forums: Virtual Earth -

Ok I create a web reference to: http://staging.mappoint.net/standard-30/mappoint.wsdl" filename="mappoint.wsdl

 

I added the following code to my project:

 

 

CommonServiceSoap commonService = new CommonServiceSoap();

commonService.Url = "https://common.virtualearth.net/find-30/common.asmx";

commonService.Credentials = new System.Net.NetworkCredential("xxxxxxxx","xxxxxxx");

 

Now how do I tell the map to use this token so I can start using traffic?  Does anyone have an example of this?

 

-rich


View article..

ENUM FindResults...
MSDN Forums: Virtual Earth -

Hi All,

 

  I am trying to enum the results after a find and I can't seem to get the data back. Here is the code I have - I greatly appreciate your help...

 

[HTML]

<asp:UpdatePanel runat="server" ID="UpdatePanel_Results">

<ContentTemplate>

<asp:Repeater runat="server" ID="rptrFindResults">

<HeaderTemplate>

<strong>Find Results:strong><hr />

HeaderTemplate>

<ItemTemplate>

<small>

<%# Eval("Name") %>

<br />

Phone: <%# Eval("phone") %><br />

<%# Eval("Description") %><br />

Latitude: <%# Eval("LatLong.Latitude") %><br />

Longitude: <%# Eval("LatLong.Longitude")%><br />

small>

ItemTemplate>

<SeparatorTemplate>

<hr />

SeparatorTemplate>

asp:Repeater>

ContentTemplate>

asp:UpdatePanel>

 

[C#]

 

protected void btnSearch_Click(object sender, ImageClickEventArgs e)

{

Map1.Find(null,txtSearch.Text);

}

protected void Map1_ServerFind(object sender, FindEventArgs e)

{

rptrFindResults.DataSource = e.ResultsArray;

rptrFindResults.DataBind();

}

 

 


View article..

How to render the map in HTTPS without the warning about secure and nonsecure items?
MSDN Forums: Virtual Earth -

My page shows secure data along with location on the map.

I setup a certificate and created a site that invokes the via earth api but when I browse I get the pop-up about secure and non secure items.

With fiddler2 I can see that the non secure calls (http invocations occur from the API)

 

How can I make the pop-up disappear?

 


View article..

3D view and ASP.NET server control: Can't get a nice angled view from altitude
MSDN Forums: Virtual Earth -

 

Hi, hoping someone can help out with what's a simple question.

 

I am using the new ASP.NET VE map control here on a site, which I am still developing. I put pictures on my map:

http://kenfine.posterous.com/uw-map-overhead

 

I am using the ASP.NET VE server control in 3d mode, as you see. I can specify an overhead view that is accurate using the following declaration.

Map2.SetMapView(new MapViewSpecification(new LatLong(47.6565, -122.3055), 1203, -90, 0));

 

 I don't want to specify an overhead view as a default. I want to specify an angled view as a default with my elements placed on it, something like this:

http://kenfine.posterous.com/uw-map-oblique

 

 However, when I specify an angled view using the same latLong, I no longer appear to be in the same location. The control either drives me "into" the earth or into some location well south or west of the view I want to have. The behavior is inconsistent and almost seems like a bug.

 

I have experimented with LatLongWithAltitude and am having no luck getting the map to go where I want it to go.

 

Can somone suggest how I can get this to work?

 

Thanks so much!

-KF


View article..

Virtual Earth with UK Traffic Data?
MSDN Forums: Virtual Earth -

Hi I was wondering has anybody come accross any articles that allow you to display UK traffic info on Virtual Earth map.

 

I have seen a sample which covers the US but nothing for the UK

 

Dont suppose anybody has done a UK mashup?

 

Many thanks in advance


View article..

PreviousNext
Copyright 2009. Sponsored by nsquared   |  Terms Of Use  |  Privacy Statement
Content on this site is generated from the developer community and shared freely for your enjoyment and benefit. This site is run independently of Microsoft and does not express Microsoft's views in any way.