Synopses & Reviews
Interactive web maps generated by MapPoint-Microsoft's popular mapping technology are crucial for businesses in a number of fields, including real estate, package delivery, and commercial air travel. In a word, MapPoint provides businesses with "location." Specifically, it provides an integrated set of products, servers, and services to enable a business to track the precise location of remote assets, thereby reducing operational costs and improving productivity. Whether the asset is a truck, a taxi, or even a field rep, MapPoint can tell you exactly where it is at any time.
Programming MapPoint in .NET from O'Reilly shows you how to use MapPoint to build custom applications for the desktop, the web, and mobile devices. The book also explains how to analyze and share data generated from a wide range of maps, including those that show demographic trends, population density, and sales potential. Chandu Thota, one of Microsoft's main MapPoint developers and the book's author, has organized the material into four major sections, each dedicated to a different MapPoint technology:
- MapPoint 2004 - calculating routes, rendering data maps, integrating with Global Positioning System (GPS) for obtaining real-time location
- MapPoint Web Service - techniques for finding points of interest, creating applications using the Find APIs and Route APIs, rendering LineDrive maps and polygons
- MapPoint Location Server - deployment scenarios, getting real-time location using mobile phones, managing contacts and privacy settings
- MSN Virtual Earth - the basics of programming with new MSN Virtual Earth APIs
The book provides a jumpstart for working with these technologies, including in-depth discussions about the core concepts and sample code provided in C#. It's ideal for anyone who wants to develop locations-based applications with MapPoint technologies.
The next time you follow online directions to the airport, you can chalk up an assist to MapPoint's state-of-the-art interactive mapping abilities. Better yet, you'll know how to create that same type of map yourself.
The author demonstrates to developers how to use the web service to build custom applications with interactive mapping abilities for the desktop, the Web, and for mobile devices.
Location-determining web services like MapQuest have been available for years: Type in an address and up pops a map to get you there. Recently, though, web applications such as Microsoft's MapPoint have taken mapping services to another level. Application developers can now program MapPoint functions into a business system, so that companies can easily locate assets such as delivery trucks, taxis, or field representatives. Or, so they can create and share maps based on existing geographic data.
Programming MapPoint in .NET gives developers a head start on Microsoft's emerging web mapping technology by showing them practical ways to embed MapPoint functionality into custom applications for the desktop, the Web, and mobile devices. Written by Microsoft's point man on MapPoint, this practical book offers the most thorough treatment of the service.
About the Author
Chandu Thota is Microsoft's point man on MapPoint. You can see his picture at http://msdn.microsoft.com/mappoint/. His weblog at http://blogs.msdn.com/cthota/ is a key resource for MapPoint developers.
Table of Contents
Dedication; Foreword; Preface; Who Should Read This Book; What's in This Book; Conventions in This Book; Companion Material; Using Code Examples; Other Resources; Safari® Enabled; We'd Like Your Feedback!; Acknowledgments; Chapter 1: Hello, MapPoint!; 1.1 Location-Based Application Categories; 1.2 Location Application Architectures; 1.3 Developing Location-Enabled Applications; 1.4 Developing Location-Aware Applications; 1.5 How It All Fits Together; 1.6 Where Are We?; Part I: MapPoint 2004; Chapter 2: Programming with MapPoint 2004; 2.1 The MapPoint 2004 Object Model; 2.2 Programming with MapPoint 2004 API; 2.3 Programming the MapPoint ActiveX Control; 2.4 Cleaning Up After You're Done; 2.5 Dealing with Latitude and Longitude; 2.6 Routing in MapPoint 2004; 2.7 Where Are We?; Chapter 3: Working with Data in MapPoint 2004; 3.1 Understanding the MapPoint 2004 Data API; 3.2 Understanding Data Maps; 3.3 Working with MapPoint Demographic Data; 3.4 Working with Your Business Data; 3.5 Querying a MapPoint DataSet; 3.6 Working with Shapes; 3.7 Working with Territories; 3.8 Where Are We?; Chapter 4: Advanced MapPoint 2004 Programming; 4.1 Interfacing MapPoint 2004 with a GPS Device; 4.2 Integrating Your Applications with MapPoint 2004; 4.3 Performance Considerations; 4.4 Where Are We?; Part II: MapPoint Web Service; Chapter 5: Programming MapPoint Web Service; 5.1 How Does MapPoint Web Service Work?; 5.2 Getting Started with MapPoint Web Service; 5.3 Preparing Your Development Environment; 5.4 Understanding MapPoint Web Service Object Model; 5.5 Where Are We?; Chapter 6: MapPoint Web Service Find APIs; 6.1 Understanding Find APIs; 6.2 Understanding Entities and Entity Relationships; 6.3 Data Sources and Countries/Regions; 6.4 Working with Find Methods; 6.5 Asynchronous Programming with Find Service; 6.6 Optimizing Find Call Performance; 6.7 Globalizing Find; 6.8 Where Are We?; Chapter 7: MapPoint Web Service Route APIs; 7.1 Understanding Route APIs; 7.2 Calculating a Route; 7.3 Displaying Details of a Route; 7.4 Where Are We?; Chapter 8: MapPoint Web Service Render APIs; 8.1 Understanding Render APIs; 8.2 Rendering Maps; 8.3 Map Interaction; 8.4 Asynchronous Programming; 8.5 Where Are We?; Part III: MapPoint Location Server; Chapter 9: Programming Microsoft Location Server; 9.1 Microsoft Location Server Terminology; 9.2 How Does Location Server Work?; 9.3 Microsoft Location Server Architecture; 9.4 Installing the Location Server; 9.5 Accessing the Location Service APIs; 9.6 Accessing the Location Server APIs; 9.7 Microsoft Location Server Supported Providers; 9.8 Where Are We?; Chapter 10: Programming with Location Server APIs; 10.1 Programming with Location Server Web Service; 10.2 Programming with the Location Server Management API; 10.3 Comparing Location Server API to Location Web Service API; 10.4 Where Are We?; Part IV: MSN Virtual Earth; Chapter 11: Programming with Virtual Earth; 11.1 Anatomy of Virtual Earth; 11.2 Programming with MapControl.js; 11.3 Where Are We?; Appendix A: Managing Your Data on MapPoint's Customer Services Site; A.1 Using the MapPoint Customer Services Site; A.2 Using Customer Data Web Service; Appendix B: Working with Polygons; B.1 What Is a Polygon?; B.2 Polygon Relationships; B.3 Rules for Preparing Polygon Data; B.4 Polygon Data Schema Document; B.5 Polygon Data Sample Document; Appendix C: Implementing Spatial Search Using SQL Server; C.1 Understanding Proximity Search; C.2 Step 1: Create a Table to Store Your Business Location Data; C.3 Step 2: Calculate Axis Values for the BusinessEntities Table; C.4 Step 3: Create the FindNearby Stored Procedure; C.5 Step 4: Using Your Find Nearby Stored Procedure Using C#; Maps; Colophon;