I just want to add combo box on OpenLayers map panel. I don't know how to add combo to the OpenLayers panel so currently I have set absolute location to combobox, like this http://jsfiddle.net/4zNH6/
<div id="map">
<select id="combo">
<option value="hyderabad">Hyderabad</option>
<option value="pune">Pune</option>
<option value="bangalore">Bangalore</option>
</select>
</div>
#combo{
position:absolute;
left:10px;
top:10px;
z-index:10000;
width:100px;
height:20px;
background-color:#FFFFFF;
}
Is this a right approach to place element on map??= or is it possible to add element in panel(OpenLayers.Control.Panel)?? and then add panel in map.
Best Answer
I think you'd need to use GeoExt with Openlayers, check this out:
Code:
See more at: