OSM Map: levels and markers in a hierarchical order

Hello everyone!
I am currently working on a biology project trying to create an OSM based map.

My problem is being able to display the data in a hierarchical order, nested levels while respecting the taxonomic classification of the species to be reported.

http://imgur.com/8SNG37r

In the link you will find the structure our markers should have: all levels and markers should be made visible or invisible on demand, as you can easely do on Google Earth.

This map will be inserted in a web page and the inserted markers should be listed on one of the sides, like on GoogleEarth.

Can anyone give us some help or advice?

Thanks so much!