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

I've exported html code from OSM site. I can't see my map when I use desktop browser, there's only empty rectangle, but I'm able to see it when I use my mobile phone. Overall, only on my default mobile browser I see it correctly, with appropriate zoom, because on Chrome it's totally zoom out, so that I see whole world. How can I fix it, any ideas? Thank you in advance

Edit: I've input my area, add a marker and used share button. I've chose HTML option and generated code I've added to my website. But when I launch my application I can't see my map, unless I use mobile phone, but also there is problem because I have to use default browser (in Chrome zoom is not appropriate)

asked 08 Sep '16, 11:00

adolzi's gravatar image

adolzi
11224
accept rate: 0%

edited 08 Sep '16, 11:21

Do you mean you pressed the "export" button on the OpenStreetMap.org site, or "Share", or something else? Can you explain in a bit more detail what you did, and what you expected to happen?

(08 Sep '16, 11:06) SomeoneElse ♦

See my edit please

(08 Sep '16, 11:19) adolzi

Have you tried making the code again?

I tried locally, and it works just fine. Maybe you could share your code here.

A common problem with iFrames is that your browser might not be willing to show it if you use a http:// iframe within a https:// website

permanent link

answered 09 Sep '16, 17:42

joost%20schouppe's gravatar image

joost schouppe
3.4k245087
accept rate: 12%

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:

×535
×107
×25

question asked: 08 Sep '16, 11:00

question was seen: 2,224 times

last updated: 09 Sep '16, 17:42

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