diff --git a/assets/js/rover_map_hook.ts b/assets/js/rover_map_hook.ts index 85f58e41..e2815913 100644 --- a/assets/js/rover_map_hook.ts +++ b/assets/js/rover_map_hook.ts @@ -91,7 +91,7 @@ export const RoverMap: Partial = { this.selectedCandidateMarker = null this.candidatePathLayer = L.layerGroup() this.gridLayer = L.layerGroup() - this.gridVisible = false + this.gridVisible = true this.cellLookup = new Map() this.topoLayer = null @@ -183,6 +183,8 @@ export const RoverMap: Partial = { map.fitBounds(this.driveCircle.getBounds(), { padding: [20, 20] }) this.candidatePathLayer.addTo(map) + this.gridLayer.addTo(map) + updateGridOverlay(map, this.gridLayer) L.control.scale({ metric: false, imperial: true, position: "bottomleft" }).addTo(map)