projection library

Map projection utilities for coordinate transformations.

This library provides:

  • Mercator projection for converting lat/lng to screen coordinates
  • Pixel projection for handling screen-space transformations
  • Abstract projection interface for extensible coordinate systems
  • Scale factor calculations for zoom level management

Classes

MercatorProjection
Web Mercator projection implementation for converting between geographic and tile coordinates.
PixelProjection
Pixel-based projection extending Mercator projection with screen coordinate support.
Projection
An abstract class that defines the interface for a map projection.