Minimap bpmn-viewer.production.min.js How do I use it?

I tried this https://github.com/bpmn-io/bpmn-js-examples/tree/master/minimap

I used the code above to show

How to realize minimap?

ps:
Forgive my English

What are you struggling with?