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

I have an application whereas I would like to click on specific hot areas on an OSM and have it open a new browser or tab link to a html or php website. The area on an OSM would be a polygon. For example, if I had a polygon surrounding Yellowstone or the Everglades, clicking on that area would open a web browser to www.nps.gov/yell or www.nps.gov/ever. After "forking" out the web browser, the original OSM would be able to continue panning and zooming as normal.

asked 11 Oct '14, 02:14

Skyhawk172's gravatar image

Skyhawk172
11112
accept rate: 0%

You are talking about embedding (within your page) or you want to open a real www.osm.org page? Did you already checked this page? https://wiki.openstreetmap.org/wiki/Slippy_Map

(11 Oct '14, 10:03) iii

Maybe you are looking for something similar to choropleth maps (see wikipedia about it)

by entering "choropleth" in the text search box of this FAQ site you can get some hints that can be maybe helpful to you.

permanent link

answered 11 Oct '14, 10:02

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×34
×25
×19

question asked: 11 Oct '14, 02:14

question was seen: 3,524 times

last updated: 11 Oct '14, 10:03

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