SharePoint is great at storing data in lists, including locations. But plain lists can be boring, right? So how about getting SharePoint to make it look appealing, without much effort even, wouldn’t that be great?
- Add a field of type Geolocation using code
- Create a Map view
- Get a Bing Maps Key
- Register the Bing Maps key using the Property Bag
The result looks like the following:
The default behavior comes with some nice features. The starting position of the map is centered on the locations in the list. You can pan and zoom the map just like on Bing Maps, street view included! After moving the map around a bit, clicking a pushpin in the list will center the map on that location. Last but not least, information in other list columns will also appear on the map, allowing you to show the information you want on the map. Not bad for something you can set up within an hour!