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


I would like to add some hover Text for location pins. For Example, if you hover one location pin (I have 3) the address will be shown. For this purpose, I need a div box with some class. Everything else can CSS do.

asked 11 Aug '22, 07:36

Iuliia's gravatar image

accept rate: 0%


You'll need to explain a bit more which framework or website you are using.

(11 Aug '22, 09:20) SimonPoole ♦

Here is an example, except here is only one location: https://www.coltundpartner.de/de/kontakt/so_finden_sie_uns/ No framework, only vanilla JS.

(11 Aug '22, 09:25) Iuliia

That's using OpenLayers as the mapping library. Which library are you using to display your maps?

In any case, this is probably not related to OpenStreetMap if you are just using OpenStreetMap as a background image layer. For technical questions regarding JavaScript mapping libraries and how to use them, please see https://gis.stackexchange.com/

(11 Aug '22, 11:08) Andy Allan
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: 11 Aug '22, 07:36

question was seen: 764 times

last updated: 11 Aug '22, 11:08

powered by OSQA