If you have your own extension you can use this widget to show PoiCollections in your own extension.
Important
Please make sure you have inserted the static template Maps2 (maps2) in your TypoScript template.
Type: Basic
Code:
<maps2:widget.poiCollection poiCollection="{location.txMaps2Uid}" override="{settings: {mapWidth: '100%', mapHeight: '300'}}" />