How to print Leaflet map on a page

That code add map html <div id="leaflet-map-1808146236" style="height: "></div> but no map:

$  map = leaflet_map_get_info(); $  map['settings']['zoom'] = 15; $  features = array(     array(         'type' => 'point',         'lon' => -87.623177,         'lat' => 41.881832,     ), );  $  height = '400px'; print leaflet_render_map($  map, $  features, $  height);