Skip to content

Commit e5a9e50

Browse files
refactor: address pr feedback
1 parent d329416 commit e5a9e50

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

example-config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ map:
113113
### - disableFlexArc: optional parameter to disable rendering flex itinerary legs as an arc.
114114
# Custom Overlays
115115
# overlays:
116-
# The OTP2 overlay is slightly more difficult to use
117-
# - type: otp2
116+
# The OTP2 overlay is slightly more difficult to use
117+
# - type: otp2
118118
# Each OTP2 overlay has to be configured here. The "type" must match
119119
# what's configured in router-config.json
120120
# layers:

lib/components/map/default-map.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ import {
1717
} from '../../actions/api'
1818
import { ComponentContext } from '../../util/contexts'
1919
import { getActiveItinerary, getActiveSearch } from '../../util/state'
20-
import {
21-
setMapPopupLocationAndGeocode
22-
} from '../../actions/map'
20+
import { setLocation, setMapPopupLocationAndGeocode } from '../../actions/map'
2321
import { setViewedStop } from '../../actions/ui'
2422
import { updateOverlayVisibility } from '../../actions/config'
2523

@@ -411,6 +409,7 @@ const mapStateToProps = (state) => {
411409
const mapDispatchToProps = {
412410
bikeRentalQuery,
413411
carRentalQuery,
412+
setLocation,
414413
setMapPopupLocationAndGeocode,
415414
setViewedStop,
416415
updateOverlayVisibility,

0 commit comments

Comments
 (0)