Recently I’ve been taking part in around with the new Sitecore Experience Accelerator (SXA) and needed to share something that is possible with none coding. Update 20190225: Dawid reminded me about the usage of IPOI instead of POI if you would like pages to inherit the template for geospatial search support. I’ve up to date the article to reference the IPOI template.
This is smart because I don’t have any plans on using the extra fields supplied by POI. Update 20180830: Realized that in this example the search outcomes aren’t linked to any actual web page. Added details beneath to explain how one may do this. Here’s a preview in case you do not need to learn the remainder of the publish. Isn’t the kitty cute?
SXA is bundled with quite quite a few search parts. Let us see what is in use. Location Finder – basically a search field with label and button. Search Results – just prefer it sounds. Filter (Radius) – used to scale back the search outcomes by geospatial comparability. Map – a map utilizing the Google Maps JavaScript API. If you add search parts to the web page, they robotically work together with each other. In the occasion you want to have a number of searches on the same page, change the signature property on the parts. I haven’t any must make the search signature unique for this page so I will leave it empty.
- Autopatcher, you do not must download it once more