Skip to content

How a shared map sets its scale

Last checked ·

A shared map restores its center, heading and local scale. New shares write ground resolution. A link can also carry an explicit Web Mercator reference zoom.

Two ways to describe the same local scale

FieldMeaningWhen the center changes
7g7 ground metres per CSS pixel along screen-up at the center.The requested ground resolution stays the same.
13.893zLevel 13.893 on the 256 CSS-pixel Web Mercator ladder.The reference level stays the same. Ground resolution can change.

Either field works with tagged or untagged coordinates. The CRS tag sets how to read the center. A link can carry one scale field or share a place alone.

Ground resolution makes the size of a feature predictable. At 7g, a 700 m stretch running up the screen near the center spans about 100 CSS pixels. Change to 3.5g and it spans about 200. Reference zoom keeps the familiar web-map convention of moving one level at a time. Why the format supports both · Zoom in public map links

Other ways to share framing

A map scale such as 1:25,000 gives a ground-to-display ratio. OGC API Maps uses a 0.28 mm reference pixel by default, so that ratio gives 7 ground metres per reference pixel. An output at 96 pixels per inch gives about 1:26,460 for the same 7 metres per output pixel. On a display, a CSS pixel can occupy a different physical size. Map bounds or a ground radius ask the receiver to fit a particular area. A camera range gives the distance to the target, with coverage also depending on the lens. OGC API Maps · Framing comparison · Existing map links