Sign in

Tutorial: Adding OpenStreetMap to your website!

#1913
Verhoeckx

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