<p>Assalam o alaikum dear all.<br>
 I have recently started coding in openlayers 2.8, my starting point was the code generated by map tiler tool. Now I want to add further functionality by clicking on the map, and adding a custom marker. By custom I mean to specify following: <br>

1. Specify marker&#39;s location.<br>
2. Custom Marker icon<br>
3. Ability to show markers text without clicking on it at all times.<br>
4. Ability to specify markers zoom levels between which it should be visible.<br>
5. Ability to hide and show whole markers layer.<br>
6. Ability to export the marker layer to kml.</p>
<p>I am sorry if I am asking too much, but I have seen almost all openlayers marker example codes and none can do even the most basic thing like clicking anywhere on map to add a marker. Also I can&#39;t seem to find any code in 2.8 examples to show text labels with or without markers. <br>

Any small code snipets will be extremely welcome. Thanks. </p>
<p>Ghulam Subhani</p>