Register
Sign In
MS Virtual Earth Winforms User Control
Home
Releases
Discussions
Issue Tracker
Source Code
Stats
People
License
Close
RSS
All Project Updates
Discussions
Issue Tracker
Releases
Source Code
Wiki
RSS
Comments
|
Print View
|
Page Info
|
Change History (all pages)
Search Wiki:
Home
Project Description
A Winforms User Control for displaying and manipulation maps using Microsoft Visual Earth.
rp: MyGPSTracker
I have written a simple c# user control to include in your winform applications. It it no more than a web browser control with added functionality for displaying maps using Microsoft Visual Earth. The current release contains:
Add and remove layers
Find locations and show them using pushpins
Get and display driving directions
Supports mouse events
Save map output to disk
It supports V6.1 of the API.
User Control
The user control has some properties you can set design time:
All properties and methods are documented in the source files.
Included sample application
The included sample application shows how to search for locations, add them to the map to a specified shapelayer using custom icons.
How to use
http://expecho.dyndns.org/DotNet/post/2008/06/How-to-use-the-virtual-earth-winforms-user-control-part-1-Introduction.aspx
http://expecho.dyndns.org/DotNet/post/2008/06/How-to-use-the-virtual-earth-winforms-user-control-part-2-Adding-pushpins.aspx
http://expecho.dyndns.org/DotNet/post/2008/06/How-to-use-the-virtual-earth-winforms-user-control-part-3-Driving-directions.aspx
http://expecho.dyndns.org/DotNet/post/2008/06/How-to-use-the-virtual-earth-winforms-user-control-part-4-Mouse-events2c-images-and-layers.aspx
To localize the driving directions modify the included html file at line 4:
<script type ="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1&
mkt=nl-NL
"></script>
Change the nl-NL locale to the locale of your liking, the supported locales are listened here:
http://msdn.microsoft.com/en-us/library/cc469974.aspx
See my blog for more detailed information (coming soon). The included sample application and the user control itself has documented source code.
Bugs? Problems?
Please let me know, use the discussion tab for these!
----------------------------------------------------------------------------------------------------------------------------------------------------------
My name is Peter Bons and I am a Software Engineer at De Giessen Automatisering based in The Netherlands (
http://www.giessen.nl
)
See my personal blog for more information:
http://www.2000miles.nl
Last edited
Jun 26 at 2:24 PM
by
Expecho
, version 12
Comments
No comments yet.
Sign in to add a comment
Downloads
Current release:
Version 1.0
Thu Jun 26 2008 at 7:00 AM
388 downloads
More info
Activity
7
30
All
days
Page Views
266
Visits
109
Pages Per Visit
2.44
Work Items Closed
0
Discussion Posts
0
© 2006-2008 Microsoft
|
Privacy Statement
|
Terms of Use
|
Code of Conduct
|
CodePlex Blog
|
Version 2008.8.12.13328
Updating...