Skip to content

Commit 695b81f

Browse files
ghybsIvanSanchez
authored andcommitted
docstrings: L.geoJson → L.geoJSON (Leaflet#4933)
Replaced factory example `L.geoJson` (from Leaflet 0.7) by `L.geoJSON` for consistency with the new factory signature rendered just below in the generated docs.
1 parent c931d33 commit 695b81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layer/GeoJSON.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @example
1010
*
1111
* ```js
12-
* L.geoJson(data, {
12+
* L.geoJSON(data, {
1313
* style: function (feature) {
1414
* return {color: feature.properties.color};
1515
* }

0 commit comments

Comments
 (0)