I'd like to print detail of the item when mouse is over that item on the map. The details would be user defined and stored in a file. Thx :)

asked 16 Sep '13, 16:31

Marc0's gravatar image

accept rate: 0%

closed 16 Sep '13, 16:40

Richard's gravatar image

Richard ♦


This is a question-and-answer site. If you would like to make suggestions as to how openstreetmap.org can function better, please use http://trac.openstreetmap.org/ , or better still get involved and contribute code. Thanks!

(16 Sep '13, 16:39) Richard ♦

If I understand you correctly, you want to create a map where you can hover over items and display some user-defined information for the item in question. This is not strictly an OpenStreetMap related question, since any base map could be used for this! If you want to do this in a web browser, you'll likely end up using the OpenLayers or Leaflet library, and store your data in something like a KML file. Use your favourite search engine to look for "OpenLayers" or "Leaflet" together with a term like "popup markers" and you'll find some examples.

permanent link

answered 16 Sep '13, 18:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 24%

Your answer
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: 16 Sep '13, 16:31

question was seen: 2,249 times

last updated: 16 Sep '13, 18:40

powered by OSQA