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

Help with embed map code.

0

I'm a beginner so I'm not expert in this part and I could use help to make this work.

I'm use Adobe Muse for design my website. I wanna put map on page. I put this html code, and it's all good, its working OK.

iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=16.044502258300785%2C45.70349695791383%2C16.08033657073975%2C45.71653276087645&layer=mapnik&marker=45.71001523943372%2C16.062419414520264" style="border: 1px solid black"></iframe>
View Larger Map

And I would like change this:

  1. When I'm on PC and scrolling (with mouse wheel), if my mouse pointer is on the map it zoom in/out. I wanna disable that. Same thing if I'm on smartphone, when you scroling you move around map. I would rather have like: "use two fingers to move map" option.
  2. Is it possible to change the color of the marker?
  3. Is it possible to add a bubble above marker with address?

asked 31 Jul '19, 10:12

Chriss's gravatar image

Chriss
11112
accept rate: 0%


One Answer:

0

yes possible use this tool

https://umap.openstreetmap.fr/en/

answered 21 Nov '22, 11:28

sinanisler's gravatar image

sinanisler
1
accept rate: 0%

Source code available on GitHub .