Geohash::Geohash PHP Метод

Geohash() публичный Метод

public Geohash ( )
    public function Geohash()
    {
        //build map from encoding char to 0 padded bitfield
        for ($i = 0; $i < 32; $i++) {
            $this->codingMap[substr($this->coding, $i, 1)] = str_pad(decbin($i), 5, "0", STR_PAD_LEFT);
        }
    }