diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b853f07..c05d1b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - GPX export now finishes correctly and does not throw an error in the end -- Deleting points from the Points page now preserves `start_at` and `end_at` values for the routes +- Deleting points from the Points page now preserves `start_at` and `end_at` values for the routes. #261 +- Visits map now being rendered correctly in the Visits page. #262 ### Changed diff --git a/app/javascript/controllers/visit_modal_map_controller.js b/app/javascript/controllers/visit_modal_map_controller.js index 4619835a..f8f4c9ea 100644 --- a/app/javascript/controllers/visit_modal_map_controller.js +++ b/app/javascript/controllers/visit_modal_map_controller.js @@ -14,7 +14,7 @@ export default class extends Controller { this.radius = this.element.dataset.radius; this.map = L.map(this.containerTarget).setView([this.center[0], this.center[1]], 17); - osmMapLayer(this.map), + osmMapLayer(this.map, "OpenStreetMap") this.addMarkers(); L.circle([this.center[0], this.center[1]], {