Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Tutorial: Adding OpenStreetMap to your website!

#1913
Avatar photo[anonymous]

Feature

Add a satellite view.

Solution

Add the correct HTML, CSS and JavaScript code :-).

HTML code

`
` `
` ` ` ` ` `
` `
`

CSS code

`#openstreetmap {`
`position: relative;`
`}`

`#mapbox-menu {`
`position: absolute;`
`background: #fff;`
`padding: 10px;`
`color: #000;`
`z-index: 99;`
`}`

JavaScript code

Comments