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

When I type a name of a country in Open street Maps it shows this country with highlighted borders, here is an example screenshot: http://prntscr.com/qrvwlg

But when I use HTML embed it never shows the country borders. I only have the option to place a marker on the map and change the layers, but it never shows the country border.

Please help me if you can

asked 23 Jan '20, 16:58

Nexuso's gravatar image

accept rate: 0%

You should try using overpass-turbo.

This request will load the "Belgium" relation, I've used wikidata keyword, but others will work.

And there's an Export - Map - interactive Map function, that generate a link that you will be able to embed properly, see this link. The URL is quite ugly as the overpass query is encoded in it, but the result is quite similar to your screenshot !

If you don't really need interactivity, you should just export an image, it will be nicer on the servers.

Overpass is great, and overpass-turbo is just awesome.

If you need a lot of customization, uMap will be the next step. You can use it to render overpass queries, with a lot of options.

permanent link

answered 27 Jan '20, 01:33

H_mlet's gravatar image

accept rate: 13%

edited 27 Jan '20, 01:33

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: 23 Jan '20, 16:58

question was seen: 2,416 times

last updated: 27 Jan '20, 01:33

powered by OSQA