File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/place_building_blocks/place_distance_label Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export class PlaceDistanceLabel extends PlaceDataConsumer {
7979 protected readonly fontLoader =
8080 new WebFontController ( this , [ WebFont . MATERIAL_SYMBOLS_OUTLINED ] ) ;
8181
82- private readonly directionsService = new DirectionsController ( this ) ;
82+ private readonly directionsController = new DirectionsController ( this ) ;
8383 private isFetchingDirectionsData = false ;
8484
8585 protected override willUpdate ( changedProperties : PropertyValues ) {
@@ -132,7 +132,7 @@ export class PlaceDistanceLabel extends PlaceDataConsumer {
132132 const destination = makePlaceForDirectionsRequest ( place ) ;
133133 if ( origin && destination ) {
134134 this . isFetchingDirectionsData = true ;
135- const result = await this . directionsService . route ( {
135+ const result = await this . directionsController . route ( {
136136 origin,
137137 destination,
138138 travelMode : ( this . travelMode ?. toUpperCase ( ) ?? 'DRIVING' ) as TravelMode ,
You can’t perform that action at this time.
0 commit comments