diff --git a/static/js/app.js b/static/js/app.js index a0f64fc..51d1b31 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -130,6 +130,9 @@ var These3Words = (function () { this.label = label; this.marker.setPosition(latLng); this.marker.setTitle(label); + if (!this.map.getBounds().contains(latLng)) { + this.map.panTo(latLng); + } };