decode static method

LatLng decode(
  1. String geohash
)

Get a single number that is the center of a specific geohash rectangle.

Implementation

static LatLng decode(String geohash) {
  final extents = getExtents(geohash);
  final x = extents.left + extents.width / 2;
  final y = extents.top + extents.height / 2;
  return LatLng(x, y);
}