Skip to content

Shared view decisions and evidence

Draft · 26 November 2026

A share carries one still view in one copyable view= value. It should reopen the view the sender chose in the same mode and let the receiver open it in another mode when the geometry supports that. The requirements define the outcomes and the specification defines the format.

The untagged form uses WGS84 latitude, longitude in degrees.

view=map:<latitude>,<longitude>[,<resolution>g | ,<zoom>z][,<heading>h]
view=cam:<latitude>,<longitude>,<height>[,<heading>h][,<tilt>t][,<roll>r][,<fov>f]

The EPSG-tagged form uses the CRS’s registered axis order and units.

view=map:epsg:<code>:<axis1>,<axis2>[,<resolution>g | ,<zoom>z][,<heading>h]
view=cam:epsg:<code>:<axis1>,<axis2>,<height>[,<heading>h][,<tilt>t][,<roll>r][,<fov>f]
Term Our choice Why it is right Mainstream Compared to others
view= One key that holds the whole view View is the word frameworks use for this state. One value is easy to copy. Yes for the word and the shape. One key with a list is in 21 of 39 links. No link uses view as a key, so it is free. map= has two meanings in links. camera= fits one type. viewpoint= is taken by ArcGIS. Link envelope
map: cam: A type in front of the value It says whether the numbers are a flat map or a camera. A map field with a missing suffix is rejected. No. Only ArcGIS Scene Viewer types its value. Google tells the two apart by the third number. The ArcGIS cam: has longitude first. Link envelope
<latitude>,<longitude> or <axis1>,<axis2> Untagged means WGS84 latitude, longitude in decimal degrees. A tagged pair follows the declared CRS. The untagged order matches what people say, type and paste and the geo: URI. The tag carries the coordinate convention with the pair. Latitude first is used by ISO 6709, geo:, Google Maps, Apple Maps, OpenStreetMap and 10 of 19 outdoor 2D schemas in the shareable-links table. GeoJSON, KML and 6 of 8 SDKs put longitude first. Coordinate order
epsg:<code>: Optional tag immediately before the horizontal pair A copied value carries the CRS, and the reader knows the axis order and units before reading coordinates. ArcGIS puts the spatial reference ID at the end of center. swisstopo uses a separate sr parameter. A suffix preserves the coordinate-first layout. A separate URL parameter loses its association when only the value is copied. CRS comparison
<resolution>g Optional ground metres per CSS pixel along screen-up at the center. Default for fresh captures. The scale stays meaningful across projections and latitude changes. Ground resolution is an established measure. The suffix is specific to this format. A scale ratio needs a reference pixel. A ground radius instead defines an area to fit. Ground resolution
<zoom>z Optional fractional zoom on the 256 pixel Web Mercator ladder, three decimals It is the scale people know from web maps, with the letter Google uses. Yes. The Wildspitz comparison counts 12 of 24 links on this ladder. MapLibre, Mapbox and Komoot count one lower. swisstopo has its own table. A new share defaults to g. Zoom levels
<height> Above mean sea level, no letter. Uses the horizontal axes’ shared linear unit, or metres otherwise. People can read all three values in the same unit in a projected link. Sea-level height works without terrain. ArcGIS and Global Mapper can default to the horizontal linear unit. KML absolute mode uses metres above sea level. Reprojecting a link can change the height unit. CesiumJS and GeoJSON use the ellipsoid. Apple MapKit uses height above ground. Height research
<heading>h Clockwise from true north, 0 to 360, one decimal, for maps and cameras It matches the surveyed heading and bearing conventions. One term serves both types. Yes. KML, ArcGIS, Google Maps and CesiumJS say heading. The Mapbox family says bearing. Rotation in ArcGIS MapView, OpenLayers and MapKit JS turns the other way. GeoPose yaw requires a frame conversion. Heading
<tilt>t Counted up from straight down, 0 to 180, one decimal Zero is a map. There is no sign to get wrong. Yes for maps. KML, ArcGIS, Google Maps, Mapbox, MapLibre, deck.gl and Apple MapKit. CesiumJS, swisstopo, Mapy.com, PeakFinder and PeakVisor count from the horizon. Their adapters subtract 90. Tilt
<roll>r Optional, one decimal, positive banks to the right. New captures omit magnitudes below 0.5° before rounding. It carries a banked flight view. The cut-off drops small rolls in new captures. Partly. 5 of 10 sources take a roll. One of 132 apps has a slot for it. The ArcGIS camera, deck.gl, Apple MapKit, Google Maps 2D and standard Mapbox camera options lack a roll field. CesiumJS and MapLibre turn the same way. Roll
<fov>f Optional lens angle from corner to corner, one decimal It keeps things the same size on a phone and a desktop. No. 6 of 8 engines use a vertical angle. Only ArcGIS uses the diagonal. A fixed vertical angle cuts a phone view to a strip. Google writes its vertical angle as y. 3D engine FOV comparison

Six WGS84 position decimals set the limit for the Wildspitz precision check. For a new tagged position, use the fewest decimals that give a step of at most 0.1 m or 0.000001° per axis in its registered unit. Copying a link preserves its coordinate precision. Precision

Every choice gives something up. The table names the loss, its size where we measured it, and who covers it.

Choice What we give up How large Who covers it
One view= value with a type and no version A host that already uses view has a conflict. A reader rejects a field or prefix it does not know, so a new field would break older readers. A view in the query reaches the server and its logs. The tilted camera takes 54 characters with its key and 66 with escaped separators. The host picks the query or the fragment.
Latitude first for an untagged pair GeoJSON, KML and 6 of 8 SDKs in the coordinate-order comparison take longitude first. In most of Europe and Africa a swapped pair is still valid, so no reader can catch it. A swapped Wildspitz pair lands about 5,614 km away on a sphere. Each adapter checks the order it receives and supplies the order the destination expects.
CRS tag before the pair Older readers reject tagged values. Dropping the tag can silently move a view. Readers accept both spellings of WGS84. A four-digit tag adds 10 raw characters or 14 with escaped colons. Dropping epsg:3413: from a 0,0 pair moves the view from the North Pole to the equator. New WGS84 captures omit the tag. Copying a view keeps its CRS tag.
Six WGS84 position decimals Detail finer than the rounding. Up to 5.6 cm. That is one pixel for an object 60 m away and about 6 pixels at 10 m. On a flat map it is one pixel at zoom 21 and 2 at zoom 22. A writer can add digits. They help only in the same viewer with the same terrain.
Optional zoom on the 256 pixel ladder A place-only link has no scale. Native zoom can use a different ladder. The same z shows different ground at another latitude and its conversion is supported through about ±85.05°. A viewer in another projection keeps the scale along screen-up and loses shear. A missed ladder conversion is a factor of 2. The same z at 60° N shows 26% less ground per pixel. Three decimals change the scale by 0.035% at most. The viewer picks a missing zoom and reports it. Each adapter converts the ladder. Beyond the reference latitude limit, the viewer reports unsupported shared scale and can show the place if it supports the location.
Ground resolution for fresh captures Readers have to learn g and the scale is defined in CSS pixels along one direction at the center. Readers that only support z reject new g links. Five significant digits give at most about 0.005% scale error from rounding. Ship reader support before changing the default writer in a deployed system.
Height above sea level, no letter Every camera link carries an eye height. A source with only a horizontal position must obtain a height to share a camera. The link’s CRS determines the height unit, and an ellipsoid-based viewer needs a geoid model. Reading 10,000 US survey feet as 10,000 m misplaces the eye by about 6,952 m. Two geoid models differ by 0.6 m at Wildspitz. Treating the Wildspitz sea-level height as a CesiumJS ellipsoid height puts the eye about 48 m too low. A height above ground needs terrain before it can be shared. Default rounding is 5 cm at most. Each adapter converts units and reports any geoid model used.
Eye only, no range or focus A flat viewer without terrain has no ground height for its scale. The receiver picks the orbit pivot. A pivot off the ground is lost. With the ground assumed at sea level, the Wildspitz top view shows 8% more ground per pixel. An eye at 3,000 m over ground at 2,500 m is 6 times out. The tilted view’s center moves 3.6 km. The receiver uses its terrain or looks the height up, and reports it. Without either it marks the eye.
One heading from true north, one decimal Rotation APIs turn the other way. A source on grid north or a compass needs a conversion. Rounding moves the Wildspitz view by 0.8 pixels, and by about 9 pixels with an 8° lens. Each adapter converts and reads the view back.
Tilt from straight down, one decimal CesiumJS, swisstopo, Mapy.com, PeakFinder and PeakVisor count from the horizon. Many viewers cap the tilt. MapLibre and deck.gl MapView stop at 60° by default and Mapbox at 85°. Rounding moves the view by 0.5 pixels. Convert to the viewer’s tilt convention and report any cap. Pitch limits
Optional roll with a 0.5° magnitude cutoff in new captures A new capture loses any roll with a magnitude below 0.5°. The ArcGIS camera, deck.gl and Apple MapKit have no roll. A dropped roll moves a corner by up to 6.4 pixels at 1280 × 720 and leaves the center in place. Rounding a written roll moves it by 0.6 pixels. A viewer without roll loses the whole bank. An unchanged rewrite keeps any supplied nonzero roll. A viewer without roll opens level and reports it.
Optional diagonal lens, one decimal 6 of 8 engines use a vertical angle and need the viewport shape to convert. The edges of the picture change with the screen shape. A link without a lens opens with the receiver’s lens. 68.4f is 61.28° wide at 1280 × 720 and 31.82° wide at 390 × 844. A 55° lens in its place makes landmarks 31% larger. Rounding moves the view by 0.5 pixels. Each adapter converts with its viewport. The viewer reports a lens it picked.
A map or a camera, never both A tilted camera opens as a flat map only approximately. A flat map opened as a camera gets its plane and lens from the receiver. The tilted Wildspitz view has 2.46 m per pixel across the viewing ray and 9.88 m per pixel along the ground. The receiver reports the conversion.

Each field alone stays near one pixel. Together they moved the Wildspitz camera by 0.058 m at the eye and by 1.92 m at a point 2,654.9 m away. Landmarks moved by up to 1.7 pixels. Between viewers, terrain, height models, zoom steps and tilt limits change the view by more than this rounding. Precision

Question What we know
ArcGIS camera URL heights Saved scenes show heights in metres and US survey feet. Camera permalink round trips in feet-based scenes remain a release check. Saved scene examples
Transform accuracy across adapters The Rigi point has reference values for WGS84, LV95, LV03 and Web Mercator. Shared-view round trips and near-camera error across SDKs still need verification. CRS viewer readbacks
Roll direction Tested in CesiumJS and MapLibre. Not tested in Google Maps 3D, KML or the Mapbox free camera.
Grid north across projections and magnetic north The LV95 grid and true north differ by about 0.76° at Rigi. Other locations, projections and magnetic north still need verification. Grid convergence at Rigi
WGS84 and national reference frames Measure position differences across specific frame realizations and epochs. An adapter that approximates ETRS89 as WGS84 reports the approximation when the difference matters. European reference systems
National height systems Their difference from the geoid models is not measured.
Outcome Decision and evidence Specification
R1 · One link and one copyable value One view= key for either type Payload and URL carrier
R2 · Restore the camera from its own position Eye position Camera fields
R3, R8 · Save the active mode and reopen in the other mode Mode-specific values and conversion trade-offs Map and camera conversion
R4, R7 · Convert across viewers and report changes Viewer adapters Adapter results
R5, R6 · Keep fields short, clear and precise Coordinate and rotation conventions, field labels and precision Payload, geometry and precision
R8 · Restore flat framing Reference zoom, heading and local scale Flat map
R9 · Keep a camera view recognizable across screen shapes One optional diagonal FOV Lens and viewport
R10 · Carry a horizontal position in a named CRS CRS tag placement Horizontal position

The calculations, browser observations and review judgments support the choices below. The full adapter checks, public-link checks and first-time reader trials remain open, along with the weighted scoring. Proposed weights · Release checks

Save the mode the sender is using. A flat map: stores center, scale and heading. A 3D cam: stores the eye and orientation, with its lens when known. A straight-down 3D view still stores the camera.

Option What it preserves Trade-off
One mode-specific value The settings the sender chose in either mode. Receivers need conversion rules to open the other mode.
Camera for both modes One geometric model, including straight-down views. A flat map has no authored eye, lens or reference plane. The writer would have to choose them.
Map for both modes The same center, scale and heading in flat viewers. Those fields lose a 3D view’s eye, tilt, roll and perspective.
Both representations in one share A receiver can choose either authored representation. The link grows and the two representations can disagree after an edit.
Bounds The receiver can fit a known area. The receiver chooses scale and composition based on the viewport. This serves area sharing.

Use the eye as the one camera position. A free, skyward or banked camera has an eye and an orientation. Eye, orientation and lens define the picture. A viewer that needs a focus finds it where the viewing ray meets the ground it shows. An orbit viewer converts its focus, distance and direction to the eye.

Position convention Benefit Trade-off
Eye only Recreates the camera directly with the fewest fields. Height is the only vertical value, so no two numbers can disagree after an edit. A flat viewer without terrain needs a ground height to set its scale. The receiver chooses the orbit pivot.
Eye with optional range Gives the focus and the flat scale without terrain. Keeps a pivot that is off the ground. Adds a field that leaves the 3D picture unchanged. Height and range can disagree after an edit. Eye-based viewers have to calculate it.
Focus with required range Natural for orbit controls and useful when copying the target coordinates. A free or skyward camera needs a synthetic target.
Eye or focus, with a tag Adapters can keep the native position type. The same camera has two representations and readers must learn which position each one carries.
Infer the position type from range Saves a tag. Adding or removing range changes what the coordinates mean and can move the camera.

A flat viewer without terrain needs a ground height. For the straight-down Wildspitz camera, assuming the ground at sea level shows about 8% more ground per pixel. An eye at 3,000 m over ground at 2,500 m would be six times out. For the tilted Wildspitz camera the same assumption moves the flat center about 3.6 km and makes the scale 2.4 times coarser. That viewer looks up a ground height or marks the eye. Ground height calculation · Camera to map

The outdoor inventory’s shareable-links table contains ten 3D or panorama schemas. Three give an eye or observer position with height, and six give a center with zoom or distance. Mapy.com includes height and zoom, and the role of its 3D position is unverified. None of the ten schemas carries both height and range. The count uses schemas from that table. Trailforks documents view sharing with no known URL schema, and ShadeMap’s source-defined schema is recorded with its pending rendered round trip. Outdoor app link inventory · ShadeMap recheck

OGC KML illustrates both concepts with its separate Camera and LookAt objects. A viewer that receives an eye picks its orbit pivot and can report that choice. KML · Camera geometry

An untagged pair means WGS84 latitude, longitude. A map search, the links of Google Maps, Apple Maps and OpenStreetMap, ISO 6709 and the geo: URI put latitude first. An untagged camera position reads latitude,longitude,height in the same order as a geo: URI. Both view types also carry a horizontal pair with an explicit EPSG code. Coordinate order comparison

Coordinate order Benefit Trade-off
Latitude, longitude The order of everyday tools. A pair pasted into a map search finds the same place. In the outdoor inventory’s shareable-links table, ten of the 19 2D schemas list latitude first and five list longitude first. GeoJSON, KML and six of the eight SDKs in the coordinate-order comparison take longitude first. Their adapters swap the two values. SDK comparison
Longitude, latitude Follows x,y order and matches GeoJSON, KML and most SDK arrays. A person who pastes the pair into a map search lands elsewhere. From Wildspitz that is about 5,614 km on a sphere.
Named values The order stops mattering. The link grows and a bare pair can no longer be copied.

In most of Europe and Africa both readings of a degree pair are valid, so a reader cannot detect a swap there. The untagged rule uses latitude first. A CRS tag lets the reader apply the registered axis order and units of another CRS.

Use map:epsg:2056:2678675.39,1211181.8,13z for a center in LV95. The same tag goes immediately before a camera’s horizontal pair. It names the coordinate system, axis order and units of that pair. The camera derives its height unit from those axes and measures from mean sea level. Heading keeps its true-north reference. Both g and z keep their scale conventions. The app chooses whether to emit tagged or untagged coordinates.

Placement Example Trade-off
Before the pair map:epsg:2056:2678675.39,1211181.8,13z The CRS and pair read as a unit. Tagged values put the CRS before the first coordinate.
At the end of the value map:2678675.39,1211181.8,13z,epsg:2056 Same length and keeps coordinates first. The reader finds the CRS after the numbers that depend on it. ArcGIS uses a trailing spatial reference ID in its native center parameter.
In the URL alongside view view=map:2678675.39,1211181.8,13z&position-crs=EPSG:2056 The full URL identifies the CRS. Copying the view value drops it. swisstopo uses sr with center.

Removing the tag from map:epsg:7084:0.26,46.355 silently changes longitude-first coordinates into WGS84 latitude-first coordinates. Both pairs parse. New WGS84 views use the shorter untagged spelling.

The Los Angeles point map:epsg:2230:5957771.3,2332286.5 (34.0522° N, 118.2437° W) falls outside the EPSG v12.029 bounding box, whose western edge is 118.15° W, and inside the v13.106 box, which reaches 119.64° W. Los Angeles is outside the named zone 6 counties. A receiver using the older box opens the point with an accuracy notice. The newer box alone cannot identify it as outside the area of use. The EPSG:2230 camera in the CSV is in San Diego, inside both boxes and within zone 6.

The first form keeps the view self-contained and puts the coordinate convention where it is needed. The spec uses EPSG’s registered axis order and units, including northing first for EPSG:2193. At a pole, a projected pair can collapse all meridians to one point. Greenwich gives that pair a reproducible heading reference. A dynamic CRS can also require a coordinate epoch. The payload leaves that epoch unspecified, so applying an epoch-dependent transform requires it separately. CRS edge cases · Format

Give the height above mean sea level immediately after the horizontal pair, with no letter. Use the pair’s shared linear unit when there is one and metres otherwise. Sources with mixed units, including surveys that store horizontal metres and vertical feet, convert from the documented vertical unit before writing. Height references in the SDKs and links · Metre and foot examples

Height unit Benefit Cost
Shared linear axis unit, otherwise metres A feet-based scene can share all three numbers in feet. Geographic links use familiar sea-level metres. Readers must resolve the tagged axes. Reprojecting may change the height number.
Always metres The height number stays the same across horizontal reprojections. Writers must convert feet-based scenes and readers editing those links see mixed units.
Explicit unit in the link A source can preserve a distinct vertical unit. Adds syntax and another choice for writers and readers.
Height reference Benefit Trade-off
Sea level Used by three of the seven surveyed SDKs with a height. Their adapters can use the height after any unit conversion. Geoid models and national height systems differ slightly. EGM96 and EGM2008 are 0.6 m apart at Wildspitz. A viewer that uses ellipsoid heights needs a geoid model.
WGS84 ellipsoid One exact surface that matches the geometry formulas. Differs from map heights by about 48 m at Wildspitz. Most adapters would need a geoid model and readers would not recognize the number.
Above ground Needs no height model. The eye moves with the receiver’s terrain, most of all on steep ground.
A marker for each reference Each source keeps its own height. Every adapter handles every case and one camera has several spellings.

An adapter converts a source height that has another reference and reports the conversion or its assumption. Define the height reference and heading convention separately from the horizontal coordinates.

Use heading, tilt and roll in geodetic east, north and up at the eye. Heading is clockwise from true north. Tilt starts at straight down. Roll turns the image around the viewing ray. These angles can be read and edited directly. Roll stays optional. KML, GeoPose Basic-YPR, CesiumJS, MapLibre and Google Maps 3D carry roll. The ArcGIS camera, deck.gl, Apple MapKit, Google Maps 2D and the ordinary Mapbox camera options have no roll field. One link in the outdoor inventory has a slot for it. A viewer without roll opens the view level and reports the change. In CesiumJS 1.147.0 and MapLibre GL JS 6.19.0 a positive roll turns the image the same way as here. Roll comparison Vectors and quaternions are useful inside adapters and take more values in a link. The distinction between geodetic and radial up is measurable. At Wildspitz they differ by about 0.192°. Using radial up would move a 10.15 km straight-down ray sideways by about 34 m. Orientation equations · GeoPose · Heading comparison · Tilt comparison

Write ground resolution g for a new share by default and keep fractional reference zoom z for existing links, explicit zoom input and captures that request reference-zoom output. Both resolve to the same quantity for the adapter. A map: with neither field shares a place. Copying a link preserves its original payload. Share current view measures the settled viewer even if the map has stayed in place. A host can request reference-zoom output while rolling out reader support for g. Flat-map rules · Scale research

Why default to ground resolution and keep zoom

Section titled “Why default to ground resolution and keep zoom”

Default to g for ground resolution so people can reason about size on screen. A trail running up the screen near the center spans about 100 CSS pixels at 7g if it is 700 m long. At 3.5g it spans about 200 CSS pixels. The same g keeps that relationship when the center moves or a different projection draws the map. A taller viewport shows more ground at that scale. Fitting a whole trail takes an extent, and physical size on the display can vary. This is a design rationale to test with readers. Worked examples · Reader checks

Keep z because zoom is already a common way to share maps. People familiar with a web map can use the zoom level they already know. One extra level doubles nearby features’ screen size at the same center and heading. The absolute ground scale at a given level depends on the ladder and latitude. A shared z uses one stated ladder, so existing z links keep their meaning and adapters can translate provider zooms into it. Both fields can restore the same local scale at the linked center when the reference zoom conversion is available. Zoom in existing links · Reference zoom formula

Scale field Benefit Trade-off
Fixed reference zoom Familiar center-and-zoom form. One zoom convention gives a convertible local scale. A map center can be anywhere through ±90°. A native zoom may use a different tile ladder. Changing latitude changes local scale even at the same z. Shared scale follows the Web Mercator latitude limit of about ±85.05°.
Ground metres per CSS pixel Gives physical scale directly, works at the poles and keeps scale when editing latitude. Readers have to recognize the unit and adapters still translate into their own projection. The scale also needs a specified screen axis.
Native zoom Short path to a viewer with a known scale table. Shared use needs a scheme identifier. The same number can give a different scale in a second viewer.

For Wildspitz, ?view=map:47.080826,8.579398,13.468z,11.6h takes 42 characters. The equivalent 9.3971g ground-resolution form takes the same 42. Three decimals in z change that example’s scale by about 0.006%. A 512-pixel zoom-zero world uses a zoom one lower for the same projected scale. Moving the center to 60° N with the original reference zoom gives about 26% less ground per CSS pixel. Reader trials still need to check whether people distinguish it from native zoom. Map precision · Examples from native map links · Scale and framing calculation

At 1280 × 800, MapLibre GL JS and ArcGIS MapView fit the same Rigi bounding box and reported native zooms of 13.429736 and 14.515205. The different native zooms illustrate why the link declares its scale convention. Measured extent fit

Keep local scale when the screen changes shape. At the Wildspitz reference scale of 9.3971 m/CSS px, a 1280 × 720 landscape view spans about 12,028 × 6,766 m on the local plane. At 390 × 844, the three framing rules give different footprints.

Portrait rule What stays fixed Ground width × height
Local scale Ground distance per CSS pixel near the center 3,665 × 7,931 m
Vertical span Ground distance from bottom to top 3,126 × 6,766 m
Fit original area Visibility of the whole landscape footprint 12,028 × 26,030 m

Measure scale along screen-up to keep the spacing that matters when converting to a straight-down camera. On a rotated geographic grid at 60° N, the measured ground scale per grid metre was 0.896 up and 0.671 right. The area-equivalent scale was 0.708. With an isotropic receiving view, the area rule shows about 21% less ground vertically. The screen-up rule shows about 60% more ground area than the source. Both lose shear. Rotation can also change the screen-up scale at the same native zoom. Test that change in projections with unequal axes. Scale readback examples · Rotated grid calculation

Use the WGS84 ellipsoid as the common distance reference. A fixed-radius sphere would simplify the arithmetic, but at the equator a sphere of radius 6,378,137 m gives a north–south scale about 0.67% larger than the ellipsoidal value. Screen direction can matter much more, as the grid example shows. Adapters can reuse the reference formula where it applies or measure a short screen-up segment using standard ellipsoidal distance. Measurement rule

Use f as the one optional lens field. It keeps magnification relative to the viewport diagonal. If the same phone swaps its usable width and height, the diagonal stays the same and so does magnification in pixels for a fixed eye and orientation. One angle and the usable viewport give the other two for a centered perspective camera. Lens geometry

The tilted and straight-down Wildspitz captures used the same eye and orientation across screen sizes. The 1280 × 720 reference was 61.30° wide and 36.87° high. The portrait captures used the same terrain and imagery, with zero roll throughout. The fixed-horizontal and fixed-longer-axis values below are calculations for the same reference.

Lens rule 390 × 844 horizontal × vertical What stays fixed and what changes
Diagonal 31.84° × 63.37° Keeps apparent size relative to the diagonal. The valley captures retained more side context and showed more sky and foreground than with a vertical lock.
Vertical 17.51° × 36.87° Keeps apparent size relative to image height. The phone crops more of the sides. This suits a deliberate height-based composition.
Horizontal 61.30° × 104.11° Keeps apparent size relative to image width. With this landscape reference the portrait opening becomes much taller.
Longer axis 30.63° × 61.30° Keeps the angle on the wider dimension in landscape and the taller dimension in portrait. It is close to the diagonal result for these sizes.

The diagonal result matches the preferred viewing experience for sharing outdoor cameras. At the same eye, orientation and viewport, using a 55° diagonal lens for the 68.4f camera makes centered landmarks about 31% larger. Saving ,68.4f costs six characters and keeps the sender’s framing. A known lens belongs in the share even when it matches the source viewer’s default. The lens remains unspecified when the source angle cannot be determined. The outdoor-app inventory documents explicit lens fields in panorama links, while the listed terrain links usually capture pose, zoom or range. Outdoor app link inventory · Capture evidence

Horizontal and vertical locks are useful when an application deliberately protects one dimension. Making them share fields would add resize policies to the format. The outdoors use case selects one policy and keeps angle conversion in the adapter. The cost is that a source with only one directional angle needs its viewport aspect ratio to supply a diagonal. An exact source frame across arbitrary screen shapes would need source dimensions or bounds and a fit rule. Viewport behavior in existing tools

For map to camera, use the map’s center and heading. Choose a reference plane and the receiving viewer’s effective lens. Put the eye directly above the center. The eye’s distance above the plane equals local map scale times the viewport height divided by twice the tangent of half the effective vertical angle. For the Wildspitz scale and 68.4f lens, that distance is about 10,153 m at 1280 × 720 and 6,428 m at 390 × 844. Both recover the map’s local scale. Report the plane and lens used.

For camera to map, the point where the viewing ray meets the ground supplies the center. The receiver’s terrain or a looked-up ground height gives that point. Project image-up onto the local horizontal plane for heading and use the span on the plane perpendicular to the viewing ray for scale. A tilted view is an approximation. With the ground 2,654.9 m along the ray, the tilted Wildspitz camera gives about 2.46 m/CSS px on its perpendicular plane at 1280 × 720. Central ground spacing along the tilt direction on a horizontal plane is about 9.88 m/CSS px. The difference grows near the horizon. When the camera gives no useful ground framing, an eye marker can show its position. A new flat share stores the converted center, scale and heading. Conversion and fallback rules

The adapter interprets the declared horizontal CRS and translates it into the receiver’s coordinates. The reference formulas use WGS84 for geometry and ground scale. When the receiver lacks a field such as roll, it can open a useful approximation and report the change. When it cannot position the view in the declared CRS, it reports that failure.

A viewer-specific string gives its own app a direct path to reopening a view. It also depends on that app’s zoom ladder, coordinate system and defaults. The shared format carries those meanings explicitly. Check SDK readback for the applied camera and open generated public links separately. Framework and public viewer examples · Adapter results

Use short suffixes so people can recognize fields and omit optional ones. A positional eye string saves four characters for a camera with every field. With suffixes, removing a value leaves the other fields easy to identify. Full names add length. Packed numbers and Base64 make a value harder to read or edit. Opaque IDs need stored state.

Use commas between both coordinates and fields. We considered slashes before optional fields, as in cam:47.053,8.846,1850/25h/75t/68.4f. Slashes make the end of the eye position easier to spot and work inside ?view=. Both forms keep the coordinate pair copyable and have the same length, raw or percent-encoded. Commas give readers one separator to remember, and the suffixes already identify the optional fields. Separator survey · RFC 3986 query syntax

Use h for heading in both types. It is the compass direction at the top of the view when roll is zero. A flat map has no roll, so its heading is the direction at the top of the screen. KML, ArcGIS, Google Maps and CesiumJS call this direction heading. The Mapbox family calls it bearing and also uses one word for flat and tilted views. When a rolled straight-down camera opens as a map, the map heading is the camera heading plus the roll. Heading comparison In a ground-resolution alternative, s and m took the same space, mpp added two characters, and dropping two suffixes saved two characters. Those differences are small enough to test against reading and editing errors. Reader checks

Omit zero heading, tilt and roll. These zero defaults describe a north-up flat map or a straight-down camera with north at the top. Keep an absent lens unspecified so the receiver can recognize when it has selected a lens itself. Give each prefix one stable meaning. The format has no version field. A reader rejects a prefix or a field it does not know.

Use ?view= by default. The server can use it for redirects and previews, and request logs can contain it. A host can use #view= when only the browser needs the view and the host controls the fragment. The fragment can also be needed for navigation or app state. Each host writes one form. A bare value in the query or fragment lacks a key to distinguish it from other state. RFC 3986 query and fragment

A local HTTP check confirmed the server received the query view. In the fragment case the server received only unrelated query parameters. Raw and escaped separators recovered the same value for all six examples, including the tagged ground-resolution and reference-zoom links. The 48-character Wildspitz camera takes 54 characters with either carrier and 66 with escaped separators. URL rules · Carrier check

Either carrier can track the current view without reloading the page. Replacing the entry during routine movement keeps Back and Forward useful for navigation. Adding an entry makes sense when the host wants a view to be a deliberate navigation stop. Creating a copyable share link works with either policy. Browser history · Framework examples

Key Added characters with ? or # Trade-off
view= 6 Short and describes either share. A host already using this key needs to handle the conflict.
viewpoint= 11 More explicit and five characters longer.
camera= 8 Clear for a camera and confusing for flat map state.
v= 3 Shortest of these keys. Readers need context to interpret it.
Separate map= and camera= 5 or 8 Clear individually. The host must handle two keys and the case where both appear.

Use view=map:… and view=cam:…. The prefixes tell the reader what was saved. 2d: and 3d: could read as display instructions. m: and c: save two characters each and are less recognizable. View is the word most frameworks use for this state, and no surveyed link uses it as a key. One key that holds a list is also the most common shape, in 21 of 39 surveyed links. Link envelope comparison

For a new view the default steps are six WGS84 coordinate decimals, a height step of at most 0.1 m in the link’s unit, five significant digits for ground resolution, three reference zoom decimals and one decimal for heading, tilt, roll and lens. The six coordinate decimals set the limit in the Wildspitz tests. For tagged coordinates, apply the angular or linear precision step in the registered axis units.

When capturing a new view, omit roll if its magnitude before rounding is below 0.5°. Rewriting an unchanged share keeps any nonzero roll. Small rolls appear when a camera moves between two meanings of up. At Wildspitz that roll is about 0.2° for a camera that faces east toward the horizon. It grows toward straight down, where roll and heading become the same turn, and passes half a degree at about 23° of tilt. Leaving a roll out moves a corner by up to 6.4 pixels at 1280 × 720 and leaves the center in place. Whole degrees would drop the same small rolls and would also turn a banked view by up to half a degree. Two decimals would be finer than heading and tilt. Roll calculation · Roll comparison

Near a pole, small changes in projected coordinates can turn the local frame by many degrees. Writers keep enough coordinate digits to limit this contribution to half the default heading step. A reader accepts extra digits. For ordinary position and framing accuracy, they are most useful in the same viewer with the same terrain, very close to the camera, with a very narrow lens or on a very close map. Between viewers, terrain, height models, zoom steps and tilt limits can dominate. Extra digits

Check Result
Reference zoom at three decimal places At most 0.0347% scale error from zoom rounding alone. At Wildspitz the zoom rounding moved a map corner by about 0.045 CSS px at 1280 × 720.
Diagonal Wildspitz camera at default precision Moves the eye 0.058 m and a point 2,654.9 m along the viewing ray 1.92 m. Landmarks at 100 m moved at most 1.711 CSS px at 1280 × 720 and 1.075 CSS px at 390 × 844. At 2,654.9 m they moved at most 1.247 and 0.729 CSS px.
Camera precision trade-off with a vertical lens and source height already in decimetres Three angle decimals took 46 characters for the plain list of six camera numbers and moved landmarks up to 0.403 CSS px at 100 m. One angle decimal, the default, took 41 characters and moved them up to 1.44 CSS px. Five coordinate decimals, whole metres and whole degrees took 30 characters and moved them up to 16.1 CSS px.
One field at a time at the default precision At 100 m, rounding the coordinates moved landmarks up to 0.40 CSS px, the heading 0.80, the tilt 0.54 and the lens 0.48.
Close flat map at 0.052488 m/CSS px in a local projection A landmark moved 1.265 CSS px at six coordinate decimals and 0.034 CSS px at seven.

These are controlled geometry checks. Viewer limits, terrain and height conversion also affect the result. Near objects, a narrow lens or a close flat map may need extra precision. Fixtures · Calculations · Release verification

Idea When to reconsider
Fit bounds, feature IDs, layers and time The user needs to fit an area, open a feature or restore other map state. Define how the viewer should handle missing items and layers.
Width and height locks, source aspect, fit or crop A view needs to lock one screen dimension or preserve the full source frame across portrait and landscape. Define the desired resize behavior.
Orthographic or off-center projection A centered perspective lens cannot express the required view. Define the extra fields and conversion limits.
Range or a stored focus A receiver without terrain has to reproduce the flat scale exactly, or a pivot off the ground has to survive.
Vehicle-relative views, motion and external pivots A user needs to replay or edit motion. Define the frame, axis and time.
Optional extension fields Define how a reader can tell optional data from a required change. Readers reject unknown fields and prefixes.
Opaque short links A share channel has a real length limit. A service can wrap the copyable string in a shorter link.