Why not ask your question on the new OpenStreetMap Community Forum?

Hi there,

I am trying to place a simple drop down box above the open street maps. Can some one guide me how to achieve this... I heard we need to create a

new new OpenLayers.Control.Button({ })

I used this method to add a button above the open street maps. But not sure of how to add a drop down box..... Please help me I am stuck for 2 days... Thank You

asked 17 Oct '12, 11:20

Dominc's gravatar image

accept rate: 0%

edited 17 Oct '12, 11:39

SomeoneElse's gravatar image

SomeoneElse ♦

This isn't really an OpenStreetMap question. "OpenLayers" is used by some people to display OSM maps, but is really nothing to do with it. Were the links to openlayers resources added to your previous question of no help?

(17 Oct '12, 11:41) SomeoneElse ♦

Yes there were of help to me .. By following them(new new OpenLayers.Control.Button({ })) i added a buttons on top of osm. But i couldnt find anything related to adding a drop down box.

(17 Oct '12, 11:51) Dominc

Was no-one even in the Openlayers IRC channel able to help?

(17 Oct '12, 12:12) SomeoneElse ♦

I couldnt really find any help...

(17 Oct '12, 12:28) Dominc
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Oct '12, 11:20

question was seen: 3,606 times

last updated: 17 Oct '12, 12:28

powered by OSQA