MSDN Archive Home
Help and FAQs
Office Live Small Business Code Samples
All Resource Updates
Votes in Release
Contact Map Code Sample
The Contact Map mashup takes advantage of the Microsoft Virtual Earth platform (
), a next generation mapping and location service. It uses data from Contact Manager, which is a light Customer Relations Manager tool that is included with every Office Live Small Business account. The Contact Map sample creates a map control that displays the location of contacts from the Business Contacts list in Contact Manager on a map provided by Virtual Earth.
Add the code sample as a solution
The download file, located under
, is a solution (.olp) file, which you can easily add to an Office Live Small Business account as a custom business application. To learn more about adding solutions to an account, see
See the sample in action
On the Office Live Small Business Home page, at the top, click
, and then click
On the Business Applications Home page, on the left navigation bar, click
. Notice that, in adding the solution, you added several files to the document library in the Contact Map application.
In the document library, double-click
The Sample Web page opens with a Page Viewer Web Part that displays the Contact Map. The right side of this Web Part includes a check box for each of the business contacts from Contact Manager that specify a business address. Select the check box next to each of the contacts that you want to appear on the map and a pushpin appears at that contact’s address.
For more details about how this code sample works, see
example, 49K, uploaded
Mar 7 2008
- 439 downloads
To download the file you must agree to the following license.
Microsoft Public License (Ms-PL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any additions or changes to the software. A "contributor" is any person that distributes its contribution under this license. "Licensed patents" are a contributor's patent claims that read directly on its contribution. 2. Grant of Rights (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 3. Conditions and Limitations (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
n Connection Code Sample
Contact Manager Web Service Examples
Contact Map Code Sample
Property Value Estimator Code Sample
There are no planned releases for this resource.
Mar 06 2008
Feb 24 2009
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.