9 double lat = 57.64911,
lon = 10.40744;
11 int maxlen = Geohash::GeohashLength(1.0
e-5);
14 Console::WriteLine( geohash );
19 String^ geohash =
"u4pruydqqvj";
21 for (
int i = 0;
i <= geohash->Length; ++
i) {
23 Geohash::Reverse(geohash->Substring(0,
i),
lat,
lon,
len,
true);
24 Console::WriteLine(String::Format(
"Length: {0} Latitude: {1} Longitude: {2}", len, lat, lon ) );
29 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
Exception class for NETGeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
int main(array< System::String^>^)