I develop a web editing application using API for Javascript. I wonder if it is possible to display an OSM basemap without some feature layers? I do not need text labels wit street names, tram-lines, churches and others.
Not without a fair amount of work on your part�?? you'll need to re-render and host your own tileset if you want to have control over what's labeled and what's not.
The OSM tiles that are accessible via the map's basemap option is the default, pre-rendered tileset. You don't get access to features because you're using tiles. If you want to selectively show features, you'll have to render your own OSM tiles.