addGeoJsonLayer

fun addGeoJsonLayer(name: String, geoJson: String)(source)

Import a GeoJSON string (e.g. handed back by the Site Planner headless bridge) as a visible local overlay, reusing the same storage-backed layer plumbing as file imports.