SlideShare a Scribd company logo
1 of 17
Using SharePoint’s Geolocation Field 
Mark Stokes – SharePoint Saturday UK 2014
Mark Stokes [MVP] 
 Red Plane 
 Microsoft Partner in North West UK 
 www.redplane.co.uk 
 @FlyRedPlane 
 Office 365, SharePoint, Azure, nopCommerce, 
Windows 8 Apps, Windows Phone Apps, iOS Apps, 
.Net 
 mark.stokes@redplane.co.uk 
 @MarkStokes 
 Interests: Travel, Technology, Photography, 
Raspberry Pi, Snowboarding, Wakeboaring, Running, 
Tough Mudder, My Dog - Hugo
Agenda 
 What is the Geolocation Field? 
 Adding Geolocation Field 
 Bing Maps License 
 Creating a Map view 
 Geolocation field example scenarios
What is the Geolocation Field? 
 SharePoint 2013 introduced a new field type named Geolocation that enables you 
to annotate SharePoint lists with location information. 
 In columns of type Geolocation, you can enter location information as a pair of 
latitude and longitude coordinates in decimal degrees or retrieve the coordinates 
of the user’s current location from the browser if it implements the W3C 
Geolocation API. 
 In the list, SharePoint 2013 displays the location on a map powered by Bing Maps. 
 A new view named Map View displays the list items as pushpins on a Bing Maps 
Ajax control V7 with the list items as cards on the left pane. 
 Together, the Geolocation field and the Map View enable you to give a spatial 
context to any information by integrating data from SharePoint into a mapping 
experience, and let your users engage in new ways in your web and mobile apps 
and solutions.
SP2013 On-Premises – Pre-Requisites 
 An 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. 
 This package installs components that implement the new geometry, 
geography, and hierarchy ID types in SQL Server 2008. 
 By default, this file is installed for SharePoint Online. However, it is not for an 
on-premises deployment of SharePoint Server 2013. 
 You must be a member of the Farm Administrators group to perform this 
operation. 
 http://msdn.microsoft.com/en-us/library/office/jj163135(v=office.15).aspx
Enabling the Geolocation Field 
 Bing Maps License Key - https://www.bingmapsportal.com 
 To set the Bing Maps key at the farm level using Windows PowerShell 
 Set-SPBingMapsKey –BingKey "<Enter a valid Bing Maps key>” 
 When you use Windows PowerShell, the Bing Maps key can be set only at the 
farm level. If you want to set the Bing Maps key at the web level, you can set 
the key programmatically.
Enabling the Geolocation Field 
 To set the Bing Maps key at the web level using custom code (C#) 
class Program 
{ 
static void Main(string[] args) 
{ 
SetBingMapsKey(); 
Console.WriteLine("Bing Maps set successfully"); 
} 
static private void SetBingMapsKey() 
{ 
ClientContext context = new ClientContext("<Site Url>"); 
Web web = context.Web; 
web.AllProperties["BING_MAPS_KEY"] = "<Valid Bing Maps Key>” 
web.Update(); 
context.ExecuteQuery(); 
} 
}
Enabling the Geolocation Field 
 To set the Bing Maps key at the web level using custom code (JavaScript) 
function SetBingKey() { 
clientContext = new SP.ClientContext([Relative Web Address]); 
var web = clientContext.get_web(); 
var webProperties = web.get_allProperties(); 
webProperties.set_item("BING_MAPS_KEY", “[Enter Bing Maps Key here]”); 
web.update(); 
clientContext.load(web); 
clientContext.executeQueryAsync(function (sender, args) { 
alert("You have successfully entered BING map key on "+ web.get_title() + " site”); 
}, function (sender, args) { 
alert("Error: ” + args.get_message()); 
}); 
}
Map View 
 A Map View is a SharePoint view that 
displays a map (with data obtained from 
the Bing Maps service), using longitude and 
latitude entries from the Geolocation field 
type. 
 When the Geolocation field type is 
available on the SharePoint list, a map view 
can be created wither programmatically or 
from the SharePoint UI. 
 In the list, SharePoint 2013 displays the 
location on a map powered by Bing Maps. 
 In additions, a new view type named Map 
View displays the list items as pushpins on 
a Bing Maps Ajax control V7 with the list 
items as card on the left pane.
Map View 
 A map view provides three colors of pushpins, each of which provides a 
difference user experience. A pushpin on the map has the same color as the 
pushpin of the matching item in the left pane. 
 Orange Indicates that the Geolocation field for the item is mapped with the Bing 
Maps services. 
 Grey Indicates that the Geolocation field for the item is empty. The item cannot 
be mapped with Bing Maps services, so no pushpin for this item appears on the 
map. 
 Blue When a user hovers over a list item, the pushpin color changes from orange 
to blue. Both the pushpin in the left pane and the matching pushpin on the map 
change color
Create a Map View Programmatically 
class Program 
{ 
static void Main(string[] args) 
{ 
CreateMapView (); 
Console.WriteLine("A map view is created successfully"); 
} 
private static void CreateMapView() 
{ 
// Replace <Site URL> and <List Title> with valid values. 
ClientContext context = new ClientContext("<Site Url>"); 
List oList = context.Web.Lists.GetByTitle("<List Title>"); 
ViewCreationInformation viewCreationinfo = new ViewCreationInformation(); 
// Replace <View Name> with the name you want for your map view. 
viewCreationinfo.Title = "<View Name>"; 
viewCreationinfo.ViewTypeKind = ViewType.Html; 
View oView = oList.Views.Add(viewCreationinfo); 
oView.JSLink = "mapviewtemplate.js"; 
oView.Update(); 
context.ExecuteQuery(); 
} 
}
Extending the Geoloaction field in a Content 
Query Webpart 
 Shows how to show the Map in a Content Query Web Part 
 Gives some good examples on changing the format of the Map View, such as 
zoom level 
http://pafederwitz.wordpress.com/2014/08/19/using-cqwp-to-display-sharepoint- 
geolocation-field/
Geolocation field example scenarios 
 Councils - Pot Hole reporting 
 Construction company / Oil rig – Health and Safety reporting 
 Logistics – vehicle tracking 
 Customer location heat maps 
 Statistical Reporting 
 Photo location Tagging 
 Office Locations 
 Power BI?
Power Map 
 Excel Formulas: 
 Lattitude: =MID(F2,FIND(" ",F2,10), FIND(")",F2) - FIND(" ",F2,10)) 
 Longitude: =MID(F2,8,FIND(" ",F2,10)-8)
Geolocation “niggly” bits 
 Field is not indexed by search 
 Cannot “paste” list data into Quick Edit mode 
 Bing Maps only 
 You have to pay for a Bing Maps license
Links 
 Integrating location and map functionality in SharePoint 2013 
 http://msdn.microsoft.com/en-us/library/office/jj163135(v=office.15).aspx 
 Create a map view for the Geolocation field in SharePoint 2013 
 http://msdn.microsoft.com/en-us/library/office/jj656773(v=office.15).aspx 
 Getting started with the new Geolocation field in SharePoint 2013 
 http://zimmergren.net/technical/sp-2013-getting-started-with-the-new-geolocation-field-in-sharepoint-2013 
 Add a GeoLocation Field to SharePoint Online using PowerShell 
 http://sharepointryan.com/2013/08/12/add-a-geolocation-field-to-sharepoint-online-using-powershell/ 
 Geolocation field in SharePoint 2013 
 http://www.sharepoint2013.me/Blog/Post/146/Geolocation-field-in-SharePoint-2013 
 Using Content Query Web Part to display SharePoint Geolocation Field 
 http://pafederwitz.wordpress.com/2014/08/19/using-cqwp-to-display-sharepoint-geolocation-field/
Thank You to Our Sponsors!

More Related Content

What's hot

Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011John Reiser
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps IJSRP Journal
 
Google Maps API
Google Maps APIGoogle Maps API
Google Maps APIhchen1
 
Geographic Information Systems Based Quantity Takeoffs in Buildings Construction
Geographic Information Systems Based Quantity Takeoffs in Buildings ConstructionGeographic Information Systems Based Quantity Takeoffs in Buildings Construction
Geographic Information Systems Based Quantity Takeoffs in Buildings ConstructionIDES Editor
 
StreetMap Premium for ArcGIS
StreetMap Premium for ArcGISStreetMap Premium for ArcGIS
StreetMap Premium for ArcGISEsri
 
ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...Stefano Marchisio
 
Field Activity Planner 2018 Digital Energy Platform
Field Activity Planner 2018 Digital Energy PlatformField Activity Planner 2018 Digital Energy Platform
Field Activity Planner 2018 Digital Energy PlatformFutureOn
 
Visualize Your Data
Visualize Your DataVisualize Your Data
Visualize Your DataKyung Yoo
 
Geo spatial analytics using Microsoft BI
Geo spatial analytics using Microsoft BIGeo spatial analytics using Microsoft BI
Geo spatial analytics using Microsoft BIJason Thomas
 
CARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysisCARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysisJorge Sanz
 
Online mapping with_the_google_maps_api
Online mapping with_the_google_maps_apiOnline mapping with_the_google_maps_api
Online mapping with_the_google_maps_apiCelny Quispe
 
NDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNorth Dakota GIS Hub
 
Getting your Data Out There: An Introduction to Distributed GIS
Getting your Data Out There:An Introduction to Distributed GISGetting your Data Out There:An Introduction to Distributed GIS
Getting your Data Out There: An Introduction to Distributed GISJohn Reiser
 
Data Visualization with Microsoft Reporting Services
Data Visualization with Microsoft Reporting ServicesData Visualization with Microsoft Reporting Services
Data Visualization with Microsoft Reporting ServicesChris Price
 
Smarter data analysis with JavaScript and Azure ML functions in Excel
Smarter data analysis with JavaScript and Azure ML functions in ExcelSmarter data analysis with JavaScript and Azure ML functions in Excel
Smarter data analysis with JavaScript and Azure ML functions in ExcelMicrosoft Tech Community
 

What's hot (20)

Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Google Maps API 101
Google Maps API 101Google Maps API 101
Google Maps API 101
 
Leveraging GIS with AutoCAD
Leveraging GIS with AutoCADLeveraging GIS with AutoCAD
Leveraging GIS with AutoCAD
 
Google Maps API
Google Maps APIGoogle Maps API
Google Maps API
 
Geographic Information Systems Based Quantity Takeoffs in Buildings Construction
Geographic Information Systems Based Quantity Takeoffs in Buildings ConstructionGeographic Information Systems Based Quantity Takeoffs in Buildings Construction
Geographic Information Systems Based Quantity Takeoffs in Buildings Construction
 
StreetMap Premium for ArcGIS
StreetMap Premium for ArcGISStreetMap Premium for ArcGIS
StreetMap Premium for ArcGIS
 
ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...ArcGIS JavaScript API (build a web layer-based map application with html5 and...
ArcGIS JavaScript API (build a web layer-based map application with html5 and...
 
Field Activity Planner 2018 Digital Energy Platform
Field Activity Planner 2018 Digital Energy PlatformField Activity Planner 2018 Digital Energy Platform
Field Activity Planner 2018 Digital Energy Platform
 
The 21st Century Harvard Map
The 21st Century Harvard MapThe 21st Century Harvard Map
The 21st Century Harvard Map
 
Day4_WebGIS
Day4_WebGISDay4_WebGIS
Day4_WebGIS
 
Visualize Your Data
Visualize Your DataVisualize Your Data
Visualize Your Data
 
Geo spatial analytics using Microsoft BI
Geo spatial analytics using Microsoft BIGeo spatial analytics using Microsoft BI
Geo spatial analytics using Microsoft BI
 
CARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysisCARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysis
 
Online mapping with_the_google_maps_api
Online mapping with_the_google_maps_apiOnline mapping with_the_google_maps_api
Online mapping with_the_google_maps_api
 
NDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS Pro
 
Getting your Data Out There: An Introduction to Distributed GIS
Getting your Data Out There:An Introduction to Distributed GISGetting your Data Out There:An Introduction to Distributed GIS
Getting your Data Out There: An Introduction to Distributed GIS
 
Data Visualization with Microsoft Reporting Services
Data Visualization with Microsoft Reporting ServicesData Visualization with Microsoft Reporting Services
Data Visualization with Microsoft Reporting Services
 
Geospatial Product Watch 2015
Geospatial Product Watch 2015Geospatial Product Watch 2015
Geospatial Product Watch 2015
 
Smarter data analysis with JavaScript and Azure ML functions in Excel
Smarter data analysis with JavaScript and Azure ML functions in ExcelSmarter data analysis with JavaScript and Azure ML functions in Excel
Smarter data analysis with JavaScript and Azure ML functions in Excel
 

Viewers also liked

Kanban Task Manager for SharePoint
Kanban Task Manager for SharePointKanban Task Manager for SharePoint
Kanban Task Manager for SharePointPeter Kalmstrom
 
SharePoint User Group UK #FutureOfSharePoint 11 May 2016
SharePoint User Group UK #FutureOfSharePoint 11 May 2016SharePoint User Group UK #FutureOfSharePoint 11 May 2016
SharePoint User Group UK #FutureOfSharePoint 11 May 2016pearce.alex
 
Keynote: 6 Steps to Big Data Success for Digital Marketing
Keynote: 6 Steps to Big Data Success for Digital MarketingKeynote: 6 Steps to Big Data Success for Digital Marketing
Keynote: 6 Steps to Big Data Success for Digital MarketingSameer Khan
 
To Folder or Not to Folder in modern SharePoint
To Folder or Not to Folder in modern SharePointTo Folder or Not to Folder in modern SharePoint
To Folder or Not to Folder in modern SharePointBobby Chang
 
Big Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data QualityBig Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data QualityRTTS
 
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - referenceChris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - referenceChris O'Brien
 
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and HadoopFacebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and Hadooproyans
 
Pig, Making Hadoop Easy
Pig, Making Hadoop EasyPig, Making Hadoop Easy
Pig, Making Hadoop EasyNick Dimiduk
 
introduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pigintroduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and PigRicardo Varela
 
Practical Problem Solving with Apache Hadoop & Pig
Practical Problem Solving with Apache Hadoop & PigPractical Problem Solving with Apache Hadoop & Pig
Practical Problem Solving with Apache Hadoop & PigMilind Bhandarkar
 
HIVE: Data Warehousing & Analytics on Hadoop
HIVE: Data Warehousing & Analytics on HadoopHIVE: Data Warehousing & Analytics on Hadoop
HIVE: Data Warehousing & Analytics on HadoopZheng Shao
 
Hive Quick Start Tutorial
Hive Quick Start TutorialHive Quick Start Tutorial
Hive Quick Start TutorialCarl Steinbach
 
Integration of Hive and HBase
Integration of Hive and HBaseIntegration of Hive and HBase
Integration of Hive and HBaseHortonworks
 
Hadoop, Pig, and Twitter (NoSQL East 2009)
Hadoop, Pig, and Twitter (NoSQL East 2009)Hadoop, Pig, and Twitter (NoSQL East 2009)
Hadoop, Pig, and Twitter (NoSQL East 2009)Kevin Weil
 
Testing Big Data: Automated Testing of Hadoop with QuerySurge
Testing Big Data: Automated  Testing of Hadoop with QuerySurgeTesting Big Data: Automated  Testing of Hadoop with QuerySurge
Testing Big Data: Automated Testing of Hadoop with QuerySurgeRTTS
 
Introduction To Map Reduce
Introduction To Map ReduceIntroduction To Map Reduce
Introduction To Map Reducerantav
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop TutorialEdureka!
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with HadoopPhilippe Julio
 

Viewers also liked (19)

Kanban Task Manager for SharePoint
Kanban Task Manager for SharePointKanban Task Manager for SharePoint
Kanban Task Manager for SharePoint
 
SharePoint User Group UK #FutureOfSharePoint 11 May 2016
SharePoint User Group UK #FutureOfSharePoint 11 May 2016SharePoint User Group UK #FutureOfSharePoint 11 May 2016
SharePoint User Group UK #FutureOfSharePoint 11 May 2016
 
Keynote: 6 Steps to Big Data Success for Digital Marketing
Keynote: 6 Steps to Big Data Success for Digital MarketingKeynote: 6 Steps to Big Data Success for Digital Marketing
Keynote: 6 Steps to Big Data Success for Digital Marketing
 
To Folder or Not to Folder in modern SharePoint
To Folder or Not to Folder in modern SharePointTo Folder or Not to Folder in modern SharePoint
To Folder or Not to Folder in modern SharePoint
 
Big Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data QualityBig Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data Quality
 
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - referenceChris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
 
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and HadoopFacebooks Petabyte Scale Data Warehouse using Hive and Hadoop
Facebooks Petabyte Scale Data Warehouse using Hive and Hadoop
 
Pig, Making Hadoop Easy
Pig, Making Hadoop EasyPig, Making Hadoop Easy
Pig, Making Hadoop Easy
 
introduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pigintroduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pig
 
Practical Problem Solving with Apache Hadoop & Pig
Practical Problem Solving with Apache Hadoop & PigPractical Problem Solving with Apache Hadoop & Pig
Practical Problem Solving with Apache Hadoop & Pig
 
HIVE: Data Warehousing & Analytics on Hadoop
HIVE: Data Warehousing & Analytics on HadoopHIVE: Data Warehousing & Analytics on Hadoop
HIVE: Data Warehousing & Analytics on Hadoop
 
Hive Quick Start Tutorial
Hive Quick Start TutorialHive Quick Start Tutorial
Hive Quick Start Tutorial
 
Integration of Hive and HBase
Integration of Hive and HBaseIntegration of Hive and HBase
Integration of Hive and HBase
 
Hadoop, Pig, and Twitter (NoSQL East 2009)
Hadoop, Pig, and Twitter (NoSQL East 2009)Hadoop, Pig, and Twitter (NoSQL East 2009)
Hadoop, Pig, and Twitter (NoSQL East 2009)
 
Testing Big Data: Automated Testing of Hadoop with QuerySurge
Testing Big Data: Automated  Testing of Hadoop with QuerySurgeTesting Big Data: Automated  Testing of Hadoop with QuerySurge
Testing Big Data: Automated Testing of Hadoop with QuerySurge
 
Introduction To Map Reduce
Introduction To Map ReduceIntroduction To Map Reduce
Introduction To Map Reduce
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop Tutorial
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
 
Big data ppt
Big  data pptBig  data ppt
Big data ppt
 

Similar to Using SharePoint's Geolocation Field - SPSUK 2014

Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 
Using OGC Standards To Link BI and Spatial
Using OGC Standards To Link BI and SpatialUsing OGC Standards To Link BI and Spatial
Using OGC Standards To Link BI and SpatialMISNet - Integeo SE Asia
 
JavaScriptIn this project you will create an interactive map for a.pdf
JavaScriptIn this project you will create an interactive map for a.pdfJavaScriptIn this project you will create an interactive map for a.pdf
JavaScriptIn this project you will create an interactive map for a.pdfsanjeevbansal1970
 
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!Sébastien Levert
 
APIs, APIs Everywhere!
APIs, APIs Everywhere!APIs, APIs Everywhere!
APIs, APIs Everywhere!BIWUG
 
Ordina SOFTC Presentation - UsingGeoData_ReportBuilder
Ordina SOFTC Presentation - UsingGeoData_ReportBuilderOrdina SOFTC Presentation - UsingGeoData_ReportBuilder
Ordina SOFTC Presentation - UsingGeoData_ReportBuilderOrdina Belgium
 
How data rules the world: Telemetry in Battlefield Heroes
How data rules the world: Telemetry in Battlefield HeroesHow data rules the world: Telemetry in Battlefield Heroes
How data rules the world: Telemetry in Battlefield HeroesElectronic Arts / DICE
 
Maps API on_mobile_dev_festbangkok
Maps API on_mobile_dev_festbangkokMaps API on_mobile_dev_festbangkok
Maps API on_mobile_dev_festbangkokss318
 
Developing Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTODeveloping Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTOCARTO
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning Workflows
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning WorkflowsIMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning Workflows
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning WorkflowsIMGS
 
BIM - Esri UK Annual Conference 2016
BIM - Esri UK Annual Conference 2016BIM - Esri UK Annual Conference 2016
BIM - Esri UK Annual Conference 2016Esri UK
 
What are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilitiesWhat are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilitiesMicrosoft Tech Community
 
SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!Sébastien Levert
 
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...Sébastien Levert
 

Similar to Using SharePoint's Geolocation Field - SPSUK 2014 (20)

Ky3618721875
Ky3618721875Ky3618721875
Ky3618721875
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Using OGC Standards To Link BI and Spatial
Using OGC Standards To Link BI and SpatialUsing OGC Standards To Link BI and Spatial
Using OGC Standards To Link BI and Spatial
 
JavaScriptIn this project you will create an interactive map for a.pdf
JavaScriptIn this project you will create an interactive map for a.pdfJavaScriptIn this project you will create an interactive map for a.pdf
JavaScriptIn this project you will create an interactive map for a.pdf
 
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
 
APIs, APIs Everywhere!
APIs, APIs Everywhere!APIs, APIs Everywhere!
APIs, APIs Everywhere!
 
Ordina SOFTC Presentation - UsingGeoData_ReportBuilder
Ordina SOFTC Presentation - UsingGeoData_ReportBuilderOrdina SOFTC Presentation - UsingGeoData_ReportBuilder
Ordina SOFTC Presentation - UsingGeoData_ReportBuilder
 
How data rules the world: Telemetry in Battlefield Heroes
How data rules the world: Telemetry in Battlefield HeroesHow data rules the world: Telemetry in Battlefield Heroes
How data rules the world: Telemetry in Battlefield Heroes
 
Maps API on_mobile_dev_festbangkok
Maps API on_mobile_dev_festbangkokMaps API on_mobile_dev_festbangkok
Maps API on_mobile_dev_festbangkok
 
Developing Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTODeveloping Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTO
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Intro To Google Maps
Intro To Google MapsIntro To Google Maps
Intro To Google Maps
 
CARTO ENGINE
CARTO ENGINECARTO ENGINE
CARTO ENGINE
 
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning Workflows
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning WorkflowsIMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning Workflows
IMGS Geospatial User Group 2014 - GeoMedia Smart Client Planning Workflows
 
BIM - Esri UK Annual Conference 2016
BIM - Esri UK Annual Conference 2016BIM - Esri UK Annual Conference 2016
BIM - Esri UK Annual Conference 2016
 
Google Maps JS API
Google Maps JS APIGoogle Maps JS API
Google Maps JS API
 
iTimer - Count On Your Time
iTimer - Count On Your TimeiTimer - Count On Your Time
iTimer - Count On Your Time
 
What are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilitiesWhat are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilities
 
SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!
 
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
 

More from Mark Stokes

SUGUK - Manchester - Ignite 2017 update
SUGUK - Manchester - Ignite 2017 updateSUGUK - Manchester - Ignite 2017 update
SUGUK - Manchester - Ignite 2017 updateMark Stokes
 
AvePoint Cloud Series - When do you decide to go to Office 365?
AvePoint Cloud Series - When do you decide to go to Office 365?AvePoint Cloud Series - When do you decide to go to Office 365?
AvePoint Cloud Series - When do you decide to go to Office 365?Mark Stokes
 
SUG - Singapore - Use of Social communication in the next generation of business
SUG - Singapore - Use of Social communication in the next generation of businessSUG - Singapore - Use of Social communication in the next generation of business
SUG - Singapore - Use of Social communication in the next generation of businessMark Stokes
 
Evo conf - SharePoint for the first time
Evo conf - SharePoint for the first timeEvo conf - SharePoint for the first time
Evo conf - SharePoint for the first timeMark Stokes
 
Evo conf - Designing SharePoint Solutions
Evo conf  - Designing SharePoint SolutionsEvo conf  - Designing SharePoint Solutions
Evo conf - Designing SharePoint SolutionsMark Stokes
 
Sharepoint User Group Geneva - Introduction to Office 365
Sharepoint User Group Geneva - Introduction to Office 365Sharepoint User Group Geneva - Introduction to Office 365
Sharepoint User Group Geneva - Introduction to Office 365Mark Stokes
 
SUGUK - News - 2013-12
SUGUK - News - 2013-12SUGUK - News - 2013-12
SUGUK - News - 2013-12Mark Stokes
 
SPSUK - When do you decide to go to the cloud?
SPSUK - When do you decide to go to the cloud?SPSUK - When do you decide to go to the cloud?
SPSUK - When do you decide to go to the cloud?Mark Stokes
 
SUGUK NW - 130430 - SharePoint Social
SUGUK NW - 130430 - SharePoint SocialSUGUK NW - 130430 - SharePoint Social
SUGUK NW - 130430 - SharePoint SocialMark Stokes
 
SPEvo13 - COM701 - The full story of a large scale SharePoint upgrade
SPEvo13 - COM701 - The full story of a large scale SharePoint upgradeSPEvo13 - COM701 - The full story of a large scale SharePoint upgrade
SPEvo13 - COM701 - The full story of a large scale SharePoint upgradeMark Stokes
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersMark Stokes
 

More from Mark Stokes (11)

SUGUK - Manchester - Ignite 2017 update
SUGUK - Manchester - Ignite 2017 updateSUGUK - Manchester - Ignite 2017 update
SUGUK - Manchester - Ignite 2017 update
 
AvePoint Cloud Series - When do you decide to go to Office 365?
AvePoint Cloud Series - When do you decide to go to Office 365?AvePoint Cloud Series - When do you decide to go to Office 365?
AvePoint Cloud Series - When do you decide to go to Office 365?
 
SUG - Singapore - Use of Social communication in the next generation of business
SUG - Singapore - Use of Social communication in the next generation of businessSUG - Singapore - Use of Social communication in the next generation of business
SUG - Singapore - Use of Social communication in the next generation of business
 
Evo conf - SharePoint for the first time
Evo conf - SharePoint for the first timeEvo conf - SharePoint for the first time
Evo conf - SharePoint for the first time
 
Evo conf - Designing SharePoint Solutions
Evo conf  - Designing SharePoint SolutionsEvo conf  - Designing SharePoint Solutions
Evo conf - Designing SharePoint Solutions
 
Sharepoint User Group Geneva - Introduction to Office 365
Sharepoint User Group Geneva - Introduction to Office 365Sharepoint User Group Geneva - Introduction to Office 365
Sharepoint User Group Geneva - Introduction to Office 365
 
SUGUK - News - 2013-12
SUGUK - News - 2013-12SUGUK - News - 2013-12
SUGUK - News - 2013-12
 
SPSUK - When do you decide to go to the cloud?
SPSUK - When do you decide to go to the cloud?SPSUK - When do you decide to go to the cloud?
SPSUK - When do you decide to go to the cloud?
 
SUGUK NW - 130430 - SharePoint Social
SUGUK NW - 130430 - SharePoint SocialSUGUK NW - 130430 - SharePoint Social
SUGUK NW - 130430 - SharePoint Social
 
SPEvo13 - COM701 - The full story of a large scale SharePoint upgrade
SPEvo13 - COM701 - The full story of a large scale SharePoint upgradeSPEvo13 - COM701 - The full story of a large scale SharePoint upgrade
SPEvo13 - COM701 - The full story of a large scale SharePoint upgrade
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End Users
 

Recently uploaded

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Recently uploaded (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Using SharePoint's Geolocation Field - SPSUK 2014

  • 1. Using SharePoint’s Geolocation Field Mark Stokes – SharePoint Saturday UK 2014
  • 2. Mark Stokes [MVP]  Red Plane  Microsoft Partner in North West UK  www.redplane.co.uk  @FlyRedPlane  Office 365, SharePoint, Azure, nopCommerce, Windows 8 Apps, Windows Phone Apps, iOS Apps, .Net  mark.stokes@redplane.co.uk  @MarkStokes  Interests: Travel, Technology, Photography, Raspberry Pi, Snowboarding, Wakeboaring, Running, Tough Mudder, My Dog - Hugo
  • 3. Agenda  What is the Geolocation Field?  Adding Geolocation Field  Bing Maps License  Creating a Map view  Geolocation field example scenarios
  • 4. What is the Geolocation Field?  SharePoint 2013 introduced a new field type named Geolocation that enables you to annotate SharePoint lists with location information.  In columns of type Geolocation, you can enter location information as a pair of latitude and longitude coordinates in decimal degrees or retrieve the coordinates of the user’s current location from the browser if it implements the W3C Geolocation API.  In the list, SharePoint 2013 displays the location on a map powered by Bing Maps.  A new view named Map View displays the list items as pushpins on a Bing Maps Ajax control V7 with the list items as cards on the left pane.  Together, the Geolocation field and the Map View enable you to give a spatial context to any information by integrating data from SharePoint into a mapping experience, and let your users engage in new ways in your web and mobile apps and solutions.
  • 5. SP2013 On-Premises – Pre-Requisites  An 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.  This package installs components that implement the new geometry, geography, and hierarchy ID types in SQL Server 2008.  By default, this file is installed for SharePoint Online. However, it is not for an on-premises deployment of SharePoint Server 2013.  You must be a member of the Farm Administrators group to perform this operation.  http://msdn.microsoft.com/en-us/library/office/jj163135(v=office.15).aspx
  • 6. Enabling the Geolocation Field  Bing Maps License Key - https://www.bingmapsportal.com  To set the Bing Maps key at the farm level using Windows PowerShell  Set-SPBingMapsKey –BingKey "<Enter a valid Bing Maps key>”  When you use Windows PowerShell, the Bing Maps key can be set only at the farm level. If you want to set the Bing Maps key at the web level, you can set the key programmatically.
  • 7. Enabling the Geolocation Field  To set the Bing Maps key at the web level using custom code (C#) class Program { static void Main(string[] args) { SetBingMapsKey(); Console.WriteLine("Bing Maps set successfully"); } static private void SetBingMapsKey() { ClientContext context = new ClientContext("<Site Url>"); Web web = context.Web; web.AllProperties["BING_MAPS_KEY"] = "<Valid Bing Maps Key>” web.Update(); context.ExecuteQuery(); } }
  • 8. Enabling the Geolocation Field  To set the Bing Maps key at the web level using custom code (JavaScript) function SetBingKey() { clientContext = new SP.ClientContext([Relative Web Address]); var web = clientContext.get_web(); var webProperties = web.get_allProperties(); webProperties.set_item("BING_MAPS_KEY", “[Enter Bing Maps Key here]”); web.update(); clientContext.load(web); clientContext.executeQueryAsync(function (sender, args) { alert("You have successfully entered BING map key on "+ web.get_title() + " site”); }, function (sender, args) { alert("Error: ” + args.get_message()); }); }
  • 9. Map View  A Map View is a SharePoint view that displays a map (with data obtained from the Bing Maps service), using longitude and latitude entries from the Geolocation field type.  When the Geolocation field type is available on the SharePoint list, a map view can be created wither programmatically or from the SharePoint UI.  In the list, SharePoint 2013 displays the location on a map powered by Bing Maps.  In additions, a new view type named Map View displays the list items as pushpins on a Bing Maps Ajax control V7 with the list items as card on the left pane.
  • 10. Map View  A map view provides three colors of pushpins, each of which provides a difference user experience. A pushpin on the map has the same color as the pushpin of the matching item in the left pane.  Orange Indicates that the Geolocation field for the item is mapped with the Bing Maps services.  Grey Indicates that the Geolocation field for the item is empty. The item cannot be mapped with Bing Maps services, so no pushpin for this item appears on the map.  Blue When a user hovers over a list item, the pushpin color changes from orange to blue. Both the pushpin in the left pane and the matching pushpin on the map change color
  • 11. Create a Map View Programmatically class Program { static void Main(string[] args) { CreateMapView (); Console.WriteLine("A map view is created successfully"); } private static void CreateMapView() { // Replace <Site URL> and <List Title> with valid values. ClientContext context = new ClientContext("<Site Url>"); List oList = context.Web.Lists.GetByTitle("<List Title>"); ViewCreationInformation viewCreationinfo = new ViewCreationInformation(); // Replace <View Name> with the name you want for your map view. viewCreationinfo.Title = "<View Name>"; viewCreationinfo.ViewTypeKind = ViewType.Html; View oView = oList.Views.Add(viewCreationinfo); oView.JSLink = "mapviewtemplate.js"; oView.Update(); context.ExecuteQuery(); } }
  • 12. Extending the Geoloaction field in a Content Query Webpart  Shows how to show the Map in a Content Query Web Part  Gives some good examples on changing the format of the Map View, such as zoom level http://pafederwitz.wordpress.com/2014/08/19/using-cqwp-to-display-sharepoint- geolocation-field/
  • 13. Geolocation field example scenarios  Councils - Pot Hole reporting  Construction company / Oil rig – Health and Safety reporting  Logistics – vehicle tracking  Customer location heat maps  Statistical Reporting  Photo location Tagging  Office Locations  Power BI?
  • 14. Power Map  Excel Formulas:  Lattitude: =MID(F2,FIND(" ",F2,10), FIND(")",F2) - FIND(" ",F2,10))  Longitude: =MID(F2,8,FIND(" ",F2,10)-8)
  • 15. Geolocation “niggly” bits  Field is not indexed by search  Cannot “paste” list data into Quick Edit mode  Bing Maps only  You have to pay for a Bing Maps license
  • 16. Links  Integrating location and map functionality in SharePoint 2013  http://msdn.microsoft.com/en-us/library/office/jj163135(v=office.15).aspx  Create a map view for the Geolocation field in SharePoint 2013  http://msdn.microsoft.com/en-us/library/office/jj656773(v=office.15).aspx  Getting started with the new Geolocation field in SharePoint 2013  http://zimmergren.net/technical/sp-2013-getting-started-with-the-new-geolocation-field-in-sharepoint-2013  Add a GeoLocation Field to SharePoint Online using PowerShell  http://sharepointryan.com/2013/08/12/add-a-geolocation-field-to-sharepoint-online-using-powershell/  Geolocation field in SharePoint 2013  http://www.sharepoint2013.me/Blog/Post/146/Geolocation-field-in-SharePoint-2013  Using Content Query Web Part to display SharePoint Geolocation Field  http://pafederwitz.wordpress.com/2014/08/19/using-cqwp-to-display-sharepoint-geolocation-field/
  • 17. Thank You to Our Sponsors!