Skip to content

DisplayProjection

Namespace: ThinkGeo.UI.Blazor

How the map's plane reaches the screen. The data does not move: tiles, features and every coordinate stay web mercator, and a projection changes only the shape they are drawn in.

public enum DisplayProjection

Inheritance object → ValueType → Enum → DisplayProjection
Implements IComparable, IConvertible, ISpanFormattable, IFormattable

Remarks:

These are the three the browser renderer draws. The desktop map draws any projection its engine can name, through MapView.DisplayProjection; the browser draws what MapLibre has, which is these. A map set to one it cannot draw is left as it was.

Fields

Name Value Description
WebMercator 0 The flat map every web map starts as.
Globe 1 The world as a ball, seen from far enough away to show a hemisphere.
VerticalPerspective 2 The ball again, but drawn as the eye would see it from a point above the surface
rather than from infinitely far - the limb curves more and the near side is larger.