I am trying to place a simple drop down box above the OpenStreetMap map. Can some one guide me how to achieve this... I know we need to make use of OpenLayers...
I tried to create a button with below code:
var button1= new OpenLayers.Control.Button({
title: "First Button",
text: "Button1",
trigger:addComp,
});
panel.addControls([button1]);
It worked fine, but not how can I add a drop down box with values of any simple array?