Vector lines and OSM Layer

Hello,

i have an OSM layer and want to plot some vector lines (list of points). That work fine only with the WMS:
var layer = new OpenLayers.Layer.WMS( “OpenLayers WMS”,
http://labs.metacarta.com/wms/vmap0”, {layers: ‘basic’} );

not with the OSM layer
var layerMap = new OpenLayers.Layer.OSM.Mapnik(“Mapnik”);

Why? Please help me. I think its an layer order problem or?

mjgo

you wouldn’t get an answer faster, if you post your question in different under-forums. Double-postings are not welcome.