mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-15 22:36:58 +00:00
Added clarification (#7819)
Added a sentence to indicate when the code examples switch from HTML and CSS to JS for clarity
This commit is contained in:

committed by
GitHub

parent
a340c086c2
commit
d00a8b28ae
@ -42,7 +42,7 @@ Now you're ready to initialize the map and do some stuff with it.
|
||||
|
||||
{% include frame.html url="example-basic.html" %}
|
||||
|
||||
Let's create a map of the center of London with pretty Mapbox Streets tiles. First we'll initialize the map and set its view to our chosen geographical coordinates and a zoom level:
|
||||
Let's create a map of the center of London with pretty Mapbox Streets tiles. From here on, we'll be working in JS. First we'll initialize the map and set its view to our chosen geographical coordinates and a zoom level:
|
||||
|
||||
var map = L.map('map').setView([51.505, -0.09], 13);
|
||||
|
||||
|
Reference in New Issue
Block a user