createProjection

Creates a Projection instance for coordinate conversions.

The projection captures the current map state (center, zoom, view size, pan offset, padding) and provides methods for converting between screen and geographic coordinates.

If map padding is set, the projection accounts for the logical viewport offset in all coordinate conversions and visible region calculations.

Return

A Projection instance for the current map state