Smart View sample for maps

Hi,
can someone point me to a example code to show a map in a Smart View?
Like the image shown here: Using Smart Views - User Guide

I don’t know where to start!

Hello,

We have a documentation with some example code here: Create a Map view - Developer guide