From 1e913a4b26ada733bd0c740fd3068d44049b3c27 Mon Sep 17 00:00:00 2001 From: Mark Meves Date: Sat, 6 Aug 2016 04:10:21 -0400 Subject: [PATCH] (remove unused variable in demo function) --- geohash-demo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geohash-demo.js b/geohash-demo.js index c010ab0..6f34e82 100644 --- a/geohash-demo.js +++ b/geohash-demo.js @@ -61,8 +61,7 @@ GeoHashBox.prototype.centerMap = function () { } GeoHashBox.prototype.showNeighbors = function () { - var geohashPrefix = this.geohash.substr(0,this.geohash.length-1); - + this.neighbors.top = new GeoHashBox(calculateAdjacent(this.geohash, 'top')); this.neighbors.bottom = new GeoHashBox(calculateAdjacent(this.geohash, 'bottom')); this.neighbors.right = new GeoHashBox(calculateAdjacent(this.geohash, 'right'));