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

In the umap interface I've set the map background to OSM Sunny (jawgmaps) but when I embed the same map on my website I'm getting the ugly standard map background 'OSM-fr'. How can I change the embed code that the map is starting straight away with the OSM Sunny view?

asked 01 Mar '23, 22:52

marsronny's gravatar image

marsronny
16112
accept rate: 0%

edited 01 Mar '23, 22:53


Did you saved your umap settings after changing the background layer to sunny and before getting the embed code?

I've just tested this and got an umap embed that shows the sunny map, see here: https://jsfiddle.net/wm1zu7je/

By the way: the osm-fr layer is not ugly ;)

And also plase consider just signing up at jawg.io for an api key to embed their sunny osm map via e.g. leaflet or maplibre directly.

permanent link

answered 02 Mar '23, 09:30

Spiekerooger's gravatar image

Spiekerooger
3.1k22356
accept rate: 16%

Thank you so much for your answer! I did save the settings after changing the background map to sunny. I'm not sure what I'm doing wrong.

Could you please check my embed code? <iframe width="100%" height="600px" frameborder="0" allowfullscreen="" src="//umap.openstreetmap.fr/en/map/campus-living-wuppertal_877642?scaleControl=false&amp;miniMap=false&amp;scrollWheelZoom=false&amp;zoomControl=true&amp;allowEdit=false&amp;moreControl=true&amp;searchControl=null&amp;tilelayersControl=null&amp;embedControl=null&amp;datalayersControl=null&amp;onLoadPanel=none&amp;captionBar=false&amp;locateControl=null&amp;measureControl=null&amp;editinosmControl=null&amp;datalayers=2659968#14/51.2514/7.1528"></iframe>

I've tried to change the sourcelink from "umap.openstreetmap.fr/en/map/campus-living-wuppertal_877642?" to "...877846?" then the maps starts directly in the sunny view but my saved points/location pins are not shown.

Looking forward to your help!

(02 Mar '23, 12:57) marsronny
1

I changed the background map on the left side and didn't see that I have to change it on the right side. Thank you so much!

(02 Mar '23, 13:14) marsronny

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:

×53
×33
×10
×3

question asked: 01 Mar '23, 22:52

question was seen: 1,517 times

last updated: 02 Mar '23, 13:27

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