This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to share HTML map with administrative border?

0

Hello,

Is there a way to share a map with administrative boarder activated? I would like to place a shared iframe map on my website with administrative boarder around the town. Is this possible?

Thank you

asked 28 Feb '19, 05:58

ChesCoJournal's gravatar image

ChesCoJournal
11112
accept rate: 0%

edited 28 Feb '19, 15:05

SK53's gravatar image

SK53 ♦
28.1k48268433


One Answer:

3

It is not simple but it is possible. What you would have to do is create a personal map with UMap (umap.openstreetmap.fr) that highlights the border. You can either draw the border manually, or you can export it from OSM and import into umap, or you can even configure your umap to dynamically load the border from OSM (in case it changes in the future). Some docs are here https://github.com/tyrasd/overpass-turbo/issues/95 or search for the links related to Overpass in https://wiki.openstreetmap.org/wiki/UMap .

answered 28 Feb '19, 07:16

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

Thank you very much for the information. I started to explore UMap and it looks like it could be the answer I am looking for.

(01 Mar '19, 03:12) ChesCoJournal

Source code available on GitHub .