mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Fix visits map not being rendered correctly in the Visits page
This commit is contained in:
parent
6f2486b8ec
commit
9a962bca72
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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]], {
|
||||
|
|
|
|||
Loading…
Reference in a new issue