pointToLayer

abstract var pointToLayer: (geoJsonPoint: Feature<Point>, latlng: LatLng) -> Layer<*>?

A Function defining how GeoJSON points spawn Leaflet layers. It is internally called when data is added, passing the GeoJSON Feature and its LatLng.

The default is to spawn a default Marker: