2

I want to put roads layer (from any source, please recommend some..) on top of my KML polygons and base layer:

baseLayer = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers:"basic"});
            map.addLayer(baseLayer);

Is that possible?

againstflow
  • 5,034
  • 18
  • 56
  • 87

1 Answers1

1

You can use setLayerIndex and raiseLayer.

Here are some good examples.

CaptDragon
  • 13,313
  • 6
  • 55
  • 96