geohash-js icon indicating copy to clipboard operation
geohash-js copied to clipboard

GeoHash Routines for Javascript

Results 7 geohash-js issues
Sort by recently updated
recently updated
newest added

not sure if this was intentional/didactic; but if it was maybe a comment would be in order (it _is_ helpful to have this as an illustrative example of how to...

calculateAdjacent should still be able to return a hash for example as the west neighbour of 0,-180+delta or the east neighbour of 0,180-delta or the northerly neighbour of 90-delta,0 or...

Small changes to get code to run under IE6 and IE7.

The GeoHashBox corners are currently calculated like this: this.corners.topleft = new GLatLng(this.box.latitude[0], this.box.longitude[0]); this.corners.topright = new GLatLng(this.box.latitude[1], this.box.longitude[0]); this.corners.bottomright = new GLatLng(this.box.latitude[1], this.box.longitude[1]); this.corners.bottomleft = new GLatLng(this.box.latitude[0], this.box.longitude[1]); Shouldn't this...

The code in the decodeGeohash: geohash[i] fails in IE6 and 7. needs to be charAt(i) instead.