Skip to content
Advertisement

Tag: openstreetmap

leaflet map shows up grey

I’m starting leaflet.js with the quickstart but my map shows as grey… is there something I’m missing? script.js: style.css: index.html: Gives me: Answer You need to implement the next section of the Quick Start Guide: you’ve initialized the map, but haven’t added any tile layers to it, hence gray. So read on to the section beginning with Next we’ll add

Advertisement