heymoon-cc/php-vector-tile-data-provider

View on GitHub
src/Spatial/WorldGeodeticProjection.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace HeyMoon\VectorTileDataProvider\Spatial;

class WorldGeodeticProjection extends AbstractProjection
{
    public const SRID = 4326;

    protected function longitudeToWGS84(float $long): float
    {
        return $long;
    }

    protected function latitudeToWGS84(float $lat): float
    {
        return $lat;
    }

    protected function longitudeFromWGS84(float $long): float
    {
        return $long;
    }

    protected function latitudeFromWGS84(float $lat): float
    {
        return $lat;
    }
}