Tilt
Last checked ·
Tilt says how far a camera looks up from the ground. Sources count it from two different zero points. This page compares how standards, SDKs and shared links define it.
What the comparison shows
One group counts tilt from straight down, so 0 looks at the ground and 90 at the horizon. That is the map world: KML, ArcGIS, Google Maps and the Mapbox family.
The other group counts from the horizon, so 0 is level and −90 looks at the ground. That is the 3D engine and panorama world: CesiumJS, swisstopo, Mapy.com, PeakFinder and PeakVisor. The same view is 90 apart between the two.
The picture
One camera, many links
The tilted Wildspitz camera is tilted 75.577° from straight down.
| Link | Tilt | Zero point |
|---|---|---|
| Shared view | 75.6t | Straight down. |
| ArcGIS Scene Viewer | 75.5768378 | Straight down. |
| Google Earth address | 75.780757t | Straight down in the radial frame at the focus, as supplied in the link. |
| Apple Maps | pitch=75.7808 | Straight down in the same radial focus inputs, rounded to four decimals. |
| BEYOND | 76 | Straight down, in whole degrees. |
| OpenSkiMap, thermal.kk7, PowderGuide | 52, 50, t=45 | Straight down. These views stayed below the viewer's pitch limit. |
| map.geo.admin.ch, 3D | −14.4231622 | The horizon, negative below it. |
| Mapy.com, 3D | pitch=-14 | The horizon. A top view writes pitch=-90. |
| PeakFinder | alt=-14.4 | The horizon. Degrees above or below it. |
| PeakVisor | pitch=-14.4 | The horizon. |
Between the two conventions, pitch from the horizon = tilt from straight down − 90. Here 75.577 − 90 gives −14.423. Viewer comparisons · Outdoor app inventory
What the SDKs and standards say
| Source | Word | Zero | What it says | Link |
|---|---|---|---|---|
| OGC KML | tilt | Straight down | “A value of 0 indicates that the view is aimed straight down toward the earth.” 90 aims at the horizon and values up to 180 point into the sky. | KML reference |
| ArcGIS Camera | tilt | Straight down | “Tilt is zero when looking straight down at the surface and 90 degrees when the camera is looking parallel to the surface.” | Camera |
| Google Maps JavaScript 3D | tilt | Straight down | “A view vector looking directly down at the earth would have a tilt of zero degrees. A view vector pointing away from the earth would have a tilt of 180 degrees.” | 3D map |
| Mapbox GL JS | pitch | Straight down | “The angle towards the horizon measured in degrees with a range between 0 and 85 degrees.” | Camera options |
| MapLibre GL JS | pitch | Straight down | The same wording with a range of 0 to 60. The maximum can be raised: “The maximum pitch of the map (0-180). Default 60.” | Camera options · Map options |
| deck.gl MapView | pitch | Straight down | “Default 0 (top-down).” The default maximum is 60. | MapView |
| Apple MapKit | pitch | Straight down | “A value of 0 results in a camera that points straight down at the map.” The class may clamp the value. | Camera pitch |
| CesiumJS | pitch | The horizon | In radians. The example sets −90° as the “default value (looking down)”. | Camera |
| deck.gl FirstPersonView | pitch | The horizon | “Default 0 (horizontal).” The maximum is 90 “(down)” and the minimum −90 “(up)”, so down is positive. | FirstPersonView |
The horizon group splits again. CesiumJS, swisstopo, Mapy.com, PeakFinder and PeakVisor count downward as negative. The deck.gl first-person camera counts downward as positive.
Tilt or pitch
Every source that says tilt counts from straight down: KML, ArcGIS, Google Maps and BEYOND. Pitch is used both ways. Mapbox, MapLibre and Apple count it from straight down. CesiumJS, swisstopo and Mapy.com count it from the horizon. So tilt carries one meaning and pitch does not.
Limits
Limits change what opens. MapLibre and deck.gl stop at 60° by default and Mapbox at 85°. In a browser test, HERE Maps drew 70° after a request for 75.577°. swisstopo rewrote a pitch of 304 as −56. A viewer that caps the tilt has to report it. Framework survey
What this means for shared view links
A shared camera writes its tilt as t, counted up from straight down, from 0 to 180. 0t looks at the ground, 90t at the horizon and 180t straight up. Camera fields · Rotation decision
Zero is a map, so the shortest camera link is a top view. The value is never negative, so there is no sign to get wrong.
An adapter for CesiumJS, swisstopo or Mapy.com subtracts 90. It reports a tilt that the viewer caps.
