Nayan Paregi


I have to give the functionality listed below in my Site.

  • User can add the custome point on Map.
  • User can search the path from one location to another.(Driving).
  • User can print the driving path with and without text.

So Please can anyone help me for how to use Virtual Earth 4.0 in asp.net 2.0

Thanks in advance

Nayan Paregi





Re: Using Virtual Earth 4.0 in Asp.net 2.0

Dwayne Lamb - CI


Hi Nayan,

A good place to start is by checking out the interactive SDK.

http://dev.live.com/virtualearth/sdk/

You probably want to explore:

- Use Pushpins
- Add a custom pushpin

- Get a route and directions
- Show the directions

ASP.Net will serve up the pages you create, but the majority of the action happens in jscript on the page.
The asyncronous callback in ASP.NET 2.0 is also an easy way to get AJAX style calls happening if you end up needing them in your design.

Dwayne.






Re: Using Virtual Earth 4.0 in Asp.net 2.0

Nayan Paregi

Thanks a lot. i get the all except print.

Please check the Link

http://maps.live.com/Default.aspx q=gas&mkt=en-us&FORM=LVSP&enc=0

if u go there there is one option for print. there is three ways to print

1.Map and Text.

2. Map Only

3. Text Only

4. custom.

how can i do that.

Dwayne Lamb - CI wrote:

Hi Nayan,

A good place to start is by checking out the interactive SDK.

http://dev.live.com/virtualearth/sdk/

You probably want to explore:

- Use Pushpins
- Add a custom pushpin

- Get a route and directions
- Show the directions

ASP.Net will serve up the pages you create, but the majority of the action happens in jscript on the page.
The asyncronous callback in ASP.NET 2.0 is also an easy way to get AJAX style calls happening if you end up needing them in your design.

Dwayne.







Re: Using Virtual Earth 4.0 in Asp.net 2.0

Madhu Gandhi

Am looking for the same functionality, printing the maps, any idea how it can be implemented I am alos looking for exporting the Map to MS Word, has anybody already implemented it

Thanks, Madhu

Email: madhu.gandhi@patni.com






Re: Using Virtual Earth 4.0 in Asp.net 2.0

Derek Chan

Those driving directions are being retrieved from the Mappoint Web Service. You will need to integrate MWS with Virtual Earth in order and then customize how you want those directions to appear in order to do so. There's tonnes of posts around the forum on how to do that

Nayan Paregi wrote:

Thanks a lot. i get the all except print.

Please check the Link

http://maps.live.com/Default.aspx q=gas&mkt=en-us&FORM=LVSP&enc=0

if u go there there is one option for print. there is three ways to print

1.Map and Text.

2. Map Only

3. Text Only

4. custom.

how can i do that.

Dwayne Lamb - CI wrote:

Hi Nayan,

A good place to start is by checking out the interactive SDK.

http://dev.live.com/virtualearth/sdk/

You probably want to explore:

- Use Pushpins
- Add a custom pushpin

- Get a route and directions
- Show the directions

ASP.Net will serve up the pages you create, but the majority of the action happens in jscript on the page.
The asyncronous callback in ASP.NET 2.0 is also an easy way to get AJAX style calls happening if you end up needing them in your design.

Dwayne.






Re: Using Virtual Earth 4.0 in Asp.net 2.0

Derek Chan

There is no functionality right now in VE that "prints" the map. That being said, you could just manually do that by print screen keyboard button and paste into print. Other ways are actually hacking and downloading the image tiles, but that is not available to the public.

Madhu Gandhi wrote:

Am looking for the same functionality, printing the maps, any idea how it can be implemented I am alos looking for exporting the Map to MS Word, has anybody already implemented it

Thanks, Madhu

Email: madhu.gandhi@patni.com