Skip to content

Commit

Permalink
Merge pull request #1001 from opentripplanner/fix-nearby-stop-popups
Browse files Browse the repository at this point in the history
Fix nearby stop popups
  • Loading branch information
binh-dam-ibigroup authored Sep 25, 2023
2 parents 7bd94b8 + 8ec38c0 commit cfec6bb
Show file tree
Hide file tree
Showing 15 changed files with 216 additions and 215 deletions.
3 changes: 0 additions & 3 deletions i18n/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ components:
nonTransit: Alternative options
DeleteUser:
deleteMyAccount: Delete my account
EnhancedStopMarker:
stopID: "Stop ID:"
stopViewer: Stop Viewer
ErrorMessage:
header: Could Not Plan Trip
warning: Warning
Expand Down
3 changes: 0 additions & 3 deletions i18n/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,6 @@ components:
nonTransit: Alternativas
DeleteUser:
deleteMyAccount: Eliminar mi cuenta
EnhancedStopMarker:
stopID: "Parada:"
stopViewer: Visor de paradas
ErrorMessage:
header: No se pudo planificar el viaje
warning: Advertencia
Expand Down
3 changes: 0 additions & 3 deletions i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,6 @@ components:
nonTransit: Alternatives
DeleteUser:
deleteMyAccount: Supprimer mon compte
EnhancedStopMarker:
stopID: Arrêt nº
stopViewer: Info arrêt
ErrorMessage:
header: Impossible de planifier le trajet
warning: Attention
Expand Down
3 changes: 0 additions & 3 deletions i18n/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ components:
multiModeSummary: "{accessMode} + {transitMode}"
DeleteUser:
deleteMyAccount: 내 계정 삭제
EnhancedStopMarker:
stopID: "정류장 ID:"
stopViewer: 정류장 뷰어
ErrorMessage:
header: 트립을 계획할 수 없음
warning: 경고
Expand Down
3 changes: 0 additions & 3 deletions i18n/nb_NO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ components:
now:
DeleteUser:
deleteMyAccount: Slett kontoen min
EnhancedStopMarker:
stopID: "Stopp-ID:"
stopViewer: Stopp-viser
ErrorMessage:
header: Kunne ikke planlegge tur
warning: Advarsel
Expand Down
3 changes: 0 additions & 3 deletions i18n/vi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,6 @@ components:
multiModeSummary: "{accessMode} + {transitMode}"
DeleteUser:
deleteMyAccount: Xóa tài khoản của tôi
EnhancedStopMarker:
stopID: Điểm dừng số
stopViewer: Xem điểm dừng
ErrorMessage:
header: Không thể lên kế hoạch cho chuyến đi
warning: Cảnh báo
Expand Down
3 changes: 0 additions & 3 deletions i18n/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ components:
multiModeSummary: "{accessMode} + {transitMode}"
DeleteUser:
deleteMyAccount: 删除我的账户
EnhancedStopMarker:
stopID: "车站 ID:"
stopViewer: 车站查看器
ErrorMessage:
header: 无法计划行程
warning: 警告
Expand Down
7 changes: 2 additions & 5 deletions lib/components/map/connected-park-and-ride-overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import React, { useEffect } from 'react'

import { parkAndRideQuery } from '../../actions/api'
import { setLocation } from '../../actions/map'
import { SetLocationHandler } from '../util/types'

type ParkAndRideParams = {
maxTransitDistance?: number
Expand All @@ -14,11 +15,7 @@ type Props = ParkAndRideParams & {
keyboard?: boolean
parkAndRideLocations?: { name: string; x: number; y: number }[]
parkAndRideQuery: (params: ParkAndRideParams) => void
setLocation: (location: {
location: Location
locationType: string
reverseGeocode: boolean
}) => void
setLocation: SetLocationHandler
}

function ConnectedParkAndRideOverlay(props: Props): JSX.Element {
Expand Down
6 changes: 6 additions & 0 deletions lib/components/map/default-map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const MapContainer = styled.div`
* {
box-sizing: unset;
}
.maplibregl-popup-content,
.mapboxgl-popup-content {
border-radius: 10px;
box-shadow: 0 3px 14px 4px rgb(0 0 0 / 20%);
}
`
/**
* Get the configured display names for the specified company ids.
Expand Down
183 changes: 0 additions & 183 deletions lib/components/map/enhanced-stop-marker.js

This file was deleted.

Loading

0 comments on commit cfec6bb

Please sign in to comment.