Skip to content
Browse files

Fixed error in geohash box list

  • Loading branch information...
1 parent 6422e85 commit cffd38621a27505f471493229037205f282b4397 David Troy committed May 30, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 geohash-demo.js
View
3 geohash-demo.js
@@ -130,7 +130,8 @@ function plotGeoHash (gLatLng) {
for (var n in geoHashBox.neighbors) {
boxes.push("'"+geoHashBox.neighbors[n].geohash+"'");
}
- boxList.innerHTML += boxes.join(',') + geoHashBox.geohash + ")";
+ boxes.push("'"+geoHashBox.geohash+"'");
+ boxList.innerHTML += boxes.join(',') + ")";
searchInfo = document.getElementById("searchInfo");
var xdistance = geoHashBox.neighbors.topleft.corners.topleft.distanceFrom(geoHashBox.neighbors.topright.corners.topright);

0 comments on commit cffd386

Please sign in to comment.
Something went wrong with that request. Please try again.