![]() ![]() ![]() On the menu bar, choose File, New Project. A map view is created, as shown in Figure 4.įollow these steps to create a map view for a SharePoint list programmatically. You cannot select multiple Geolocation fields for a map view, although you can create two different map views that use two different Geolocation fields.Īfter you add the required Geolocation field and any other field you need, choose OK. Prerequisites for creating a map viewĪccess to a SharePoint list, with sufficient privileges to create a view.Ī SharePoint list that contains a Geolocation columnĪ valid Bing Maps key set at the farm or web level, which can be obtained from the Bing Maps Account CenterĪt least one Geolocation field is required to create a map view. To download SQLSysClrTypes.msi, see Microsoft SQL Server 2008 R2 SP1 Feature Pack for SQL Server 2008, or Microsoft SQL Server 2012 Feature Pack for SQL Server 2012 in the Microsoft Download Center. You must be a member of the Farm Administrators group to perform this operation. However, it is not installed for an on-premises deployment of SharePoint. By default, this file is installed for SharePoint Online. This package installs components that implement the new geometry, geography, and hierarchy ID types in SQL Server 2008. This article does not explain how to render the Geolocation field or provide developer guidance for creating a location-based mobile application it does provide instruction for creating map views programmatically and from the SharePoint UI by using Bing Maps.Īn MSI package named SQLSysClrTypes.msi must be installed on every SharePoint front-end web server to view the Geolocation field value or data in a list. The Geolocation field and the map view enable you to give spatial context to any information by integrating data from SharePoint into a mapping experience in web and mobile apps. For information about how to render and work with this data type programmatically, see Integrating location and map functionality in SharePoint. Instead, this field must be inserted programmatically. The Geolocation field is not available when you create a list by using the UI. To display a map view in a SharePoint list, you must use the Bing Maps services. An entry is typically seen as a pushpin on a map view. For example, you can now make lists "location-aware" and display latitude and longitude coordinates through Bing Maps. SharePoint introduces a new field type named Geolocation that enables you to annotate SharePoint lists with location information. You can create a map view manually via the SharePoint user interface (UI) or programmatically by using the new Geolocation field type. Learn how to display location information by using a map view in SharePoint lists. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |