You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: leaflet/03-GEOJSON-INFO.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The simplest way to display a popup with information for each marker is to use the Marker's [`bindPopup`](http://leafletjs.com/reference.html#marker-bindpopup) method. The GeoJSON layer provides an [`onEachFeature`](http://leafletjs.com/reference.html#geojson-oneachfeature) option which will be called once per feature before it's added to the layer which we can use to call `bindPopup`.
4
4
5
-
Replace the placeholder `// -- Layer options here --` with the following in `leaflet.js`:
5
+
**Replace the placeholder**`// -- Layer options here --` with the following in `leaflet.js`:
6
6
7
7
```javascript
8
8
// Define a function that will be called once for each feature that is
0 commit comments