pointToLayer

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

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

The default is to spawn a default Marker: