Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 456 Bytes
namespace Sitecore.Spatial.GeoJson.ComputedFields
{
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.ComputedFields;
using Sitecore.Data.Items;
public class Polygon : AbstractComputedIndexField
{
public override object ComputeFieldValue(IIndexable indexable)
{
Item item = indexable as SitecoreIndexableItem;
return item?.Fields["polygongeom"].Value;
}
}
}
You can’t perform that action at this time.