Smart View sample for maps

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!


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