Rendering of the map is simple. Just call the drawMap() method on the Map object and it will return the HTML and Javascript necessary to display the map within a Frontend Plugin or Backend Module:
$output = $map->drawMap();