NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

Dominc
31336
accept rate: 0%

edited 17 Oct '12, 11:39

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

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

Follow this question

By Email:

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

By RSS:

Answers

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:

×122

question asked: 17 Oct '12, 11:20

question was seen: 3,655 times

last updated: 17 Oct '12, 12:28

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum