Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have to display Bing Map in Callout Popup as displayed in SharePoint 2013 Geo Location Field.

NOTE : I have to use Out of the box Geo Location Field and take value from that field. I am using it in App Part.

I want to Display as shown in this LINK.

Thanks

share|improve this question

1 Answer 1

Have you seen Tobias Zimmergren's blogpost about that specific matter? Here he shows how to use the field and how to do some nice stuff with it. What you want to do is basically OOTB functionality all the way as I understand it.

You just need to add the geofield to the list for example with powershell like this (cred. Zimmergren):

Add-PSSnapin Microsoft.SharePoint.PowerShell

$web = Get-SPWeb "http://tozit-sp:2015"
$list = $web.Lists["Scandinavian Microsoft Offices"]
$list.Fields.AddFieldAsXml(
    "<Field Type='Geolocation' DisplayName='Office Location'/>",
    $true,
    [Microsoft.SharePoint.SPAddFieldOptions]::AddFieldToDefaultView)
share|improve this answer
    
Thanks Robert, I have already added Geo Location field to my List but my requirement is something different. I have added a callout popup in my AppPart and I want to display Bing map in that callout popup. –  Torque Apr 4 '13 at 8:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.