package geojson

  1. Overview
  2. Docs
val properties : (Feature.t, json option) Optics.Lens.t

A lens for focusing on the properties if any.

val foreign_members : (Feature.t, (string * json) list) Optics.Lens.t

A lens for focusing on the foreign members if any.

val geometry : (Feature.t, Geometry.t option) Optics.Lens.t

A lens for focusing on the feature's geometry if any.

val geometry_exn : (Feature.t, Geometry.t) Optics.Lens.t

Like geometry except using Option.get internally.