Skip to content
DezfilDocsv0.1.0

API and agentsAPI reference

Viewport

object

The map camera: pitch 0 to 60 degrees, latitude -85.051129 to 85.051129 degrees, zoom -2 to 24, all finite and inclusive. Out-of-range submissions are refused. Accepted cameras render as stored, except coverage moves a center nearer a pole than half the canvas height toward the equator and raises zoom below log2(canvas height / 512), accounting for view padding. Older stored cameras read clamped to these bounds without a write. The viewport is one whole camera: omitted pitch and bearing store zero (flat and north-up).

  • lngnumber

  • latnumberminimum -85.051129maximum 85.051129

  • zoomnumberminimum -2maximum 24

  • pitchnumberminimum 0maximum 60

  • bearingnumberminimum -360maximum 360

Dezfil · Apache-2.0docs from 7439201b