Visit the Map Suite Code Community
It's been a busy month at the Map Suite Code Community. Inspired by requests and suggestions from our customers at the Map Suite discussion forums, we've put together a variety of new projects that demonstrate some of the most oft-requested ideas. Learn how to snap GPS points to streets, label moving vehicles and much more.
GPS to Google Map
Many of our users would like to display point data (for instance, incoming GPS readings) on a Google Map. This sample Web-based project will show you how to interpret GPS data, project it to match Google, and then plot it on a Google Map.
Snap GPS to Street
Because of the built-in error factor when using GPS, location points of tracked vehicles may not display precisely on a street or highway. This project will show you how to snap a real-time GPS point to the nearest road layer.
Centering on a Moving Vehicle
A commonly requested feature when tracking a vehicle for GPS applications is to have the map centered on a vehicle as it moves. Implementing this is easy with Map Suite when using the CenterAt API.
Centering Map with Tolerance
Here, we go beyond the "Centering on a Moving Vehicle" project and add some polish to prevent the map from refreshing too often. This is accomplished by establishing a tolerance that will determine whether the map needs to be refreshed or not.
Moving Vehicle with Label
Further exploring the GPS tracking applications of Map Suite, this project shows how to label a moving vehicle and continually update the label with the vehicle's current coordinates.
Street Intersection
Based on a customer request, we built this sample project to show you how to get the intersection point of two streets.
ValueStyle with Countries
Here, we take the Map Suite "How Do I...?" sample app called "Draw Features Based on Values" a step further. This sample applies a ValueStyle to a polygon-based countries layer, rather than a point-based cities layer.
Show Off Your Own Projects
Don't forget that you can use the Code Community as a way to showcase your own custom-developed extensions for Map Suite. Do you have a great idea for a Map Suite add-on that will save developers time or add a useful feature? Tell us about it and we'll set you up with your very own space on the Code Community, complete with its own issue tracking, wiki, discussion forums, source code repository and member roles.
All code posted to the Map Suite Code Community is offered under the Microsoft Public License (Ms-PL), an open source initiative that gives you the flexibility to re-use the code in your own packages, including commercial projects.
|