* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>
This commit is contained in:
j-dc
2016-12-08 12:03:46 -08:00
committed by Andy
parent 1eef4bb667
commit edf6a02bef
+1 -1
View File
@@ -805,7 +805,7 @@ declare namespace L {
* }
* ```
*/
pointToLayer?: (geoJsonPoint: GeoJSON.Point, latlng: LatLng) => Layer; // should import GeoJSON typings
pointToLayer?: (geoJsonPoint: GeoJSON.Feature<GeoJSON.Point>, latlng: LatLng) => Layer; // should import GeoJSON typings
/**
* A Function defining the Path options for styling GeoJSON lines and polygons,