I'm trying to display a custom marker icon on the map component. However, I see the default icon getting displayed on the map. Here's the detail that I have in Sitecore

  1. Created a POI Type "A" (POI Icon field set to the custom icon) and selected Default as rendering variant.

  2. Associated the POI Type "A" with the Location items (inherits IPoi and search results containing LatLong details)

  3. Created a Map component, setting the properties field (Mode, Central Point Mode, Latitude, Longitude, Zoom, POI Type mapping to Rendering variants, etc.Made the POI field empty on the map component as I do not want to show My Location.

But this is what I get on the map

enter image description here

Any thoughts, what I might be missing here?

1 Answer 1


I've just rechecked that and it works fine. I've assigned custom png image to my new POI Type and it works correctly for both modes. Bellow list of static POIs on the map:

enter image description here

And here are POIs found by Search Results:

enter image description here

  • Thank you Dawid. This helped me a lot. The search result item was inheriting IPOI template which was wrong and it is expected to inherit from POI template. Internally the search code looks for Type by ID (from POI template) and not by name . Oct 30, 2019 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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