Modules

Bing
 

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:

NameDescription
Microsoft.Maps.AutosuggestProvides location based suggestions as you type.
Microsoft.Maps.ClusteringThis 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.ContourThis module makes it easy to take contour line data and visualize them on Bing Maps as non-overlapping colored areas.
Microsoft.Maps.DataBinningThis module provides makes it easy to create data bins from arrays of pushpins and display them on the map.
Microsoft.Maps.DirectionsAllows 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.DrawingToolsProvides a set of tools for drawing and editing shapes on top of the map.
Microsoft.Maps.GeoJsonThis module makes it easy to import or export data in GeoJson format.
Microsoft.Maps.GeoXmlThe 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.HeatMapThe module allows you to render an array of Location objects as a density based heat map.
Microsoft.Maps.SearchProvides an easy method for geocoding address and reverse geocoding locations from JavaScript.
Microsoft.Maps.SpatialDataServiceThis module wraps the Query and GeoData REST API’s in the Bing Spatial Dara Services and expose them as an easy to use JavaScript library.
Microsoft.Maps.SpatialMathThe module provides a bunch of useful spatial math functions.
Microsoft.Maps.TrafficAdds a traffic incident and flow data to the map.
Microsoft.Maps.WellKnownTextThis 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.

Show: