The Bing Maps V8 web control use a modular framework as a way to minimize loading of a bunch of features and functionalities that may not be needed. The base map control consists of a number of core features such as support for pushpins, polylines, polygons, and tile layers. Modules allow users to load only the features and functionalities they need, rather than loading everything up when the application starts. You can save yourself a lot of development time by using modules and avoid reinventing the wheel.
Within the Bing Maps V8 web control, the following modules are provided:
|Microsoft.Maps.Autosuggest||Provides location based suggestions as you type.|
|Microsoft.Maps.Clustering||This module allows you to easily add in client side clustering to your application. Client Side Clustering is a method where pushpins that are close together are grouped and represented as a single pushpin, often using a different icon to indicate the cluster. This is a great way to improve both the user experience and performance of the map.|
|Microsoft.Maps.Contour||This module makes it easy to take contour line data and visualize them on Bing Maps as non-overlapping colored areas.|
|Microsoft.Maps.DataBinning||This module provides makes it easy to create data bins from arrays of pushpins and display them on the map.|
|Microsoft.Maps.Directions||Allows you to calculate a route and display it on the map. The route is draggable by default for easy customization. The instructions will also be nicely formatted.|
|Microsoft.Maps.DrawingTools||Provides a set of tools for drawing and editing shapes on top of the map.|
|Microsoft.Maps.GeoJson||This module makes it easy to import or export data in GeoJson format.|
|Microsoft.Maps.GeoXml||The GeoXml module makes it easy to read and write common geospatial XML file formats such as KML (Keyhole Markup Language), KMZ (compressed KML), GeoRSS, GML (Geography Markup Language, exposed via GeoRSS), and GPX (GPS Exchange Format).|
|Microsoft.Maps.HeatMap||The module allows you to render an array of Location objects as a density based heat map.|
|Microsoft.Maps.SpatialMath||The module provides a bunch of useful spatial math functions.|
|Microsoft.Maps.Traffic||Adds a traffic incident and flow data to the map.|
|Microsoft.Maps.WellKnownText||This module makes it easy to import or export data in Well Known Text format.|
You can also create custom modules, which is a really great way to promote code reuse.