pointToLayer property
A Function defining how GeoJSON points spawn Leaflet layers. It is internally called when data is added, passing the GeoJSON point feature and its LatLng. The default is to spawn a default Marker.
Implementation
external Layer Function(dynamic geoJsonPoint, LatLng latlng) get pointToLayer;