diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-03 14:34:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-03 14:34:33 -0700 |
commit | 345d64a1662553c63237a236814aa312b582462a (patch) | |
tree | 7e56e58dd221b2418f932fd5c6cd19da3e5a83aa /modern/src/main/StatusCard.js | |
parent | 078c6acbd1af5936fab29431dc27e03aaed34a7b (diff) | |
download | trackermap-web-345d64a1662553c63237a236814aa312b582462a.tar.gz trackermap-web-345d64a1662553c63237a236814aa312b582462a.tar.bz2 trackermap-web-345d64a1662553c63237a236814aa312b582462a.zip |
Add street view heading
Diffstat (limited to 'modern/src/main/StatusCard.js')
-rw-r--r-- | modern/src/main/StatusCard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js index 788235d5..41cd0b53 100644 --- a/modern/src/main/StatusCard.js +++ b/modern/src/main/StatusCard.js @@ -188,7 +188,7 @@ const StatusCard = ({ deviceId, onClose }) => { <MenuItem onClick={() => navigate(`/position/${position.id}`)}><Typography color="secondary">{t('sharedShowDetails')}</Typography></MenuItem> <MenuItem component="a" target="_blank" href={`https://www.google.com/maps/search/?api=1&query=${position.latitude}%2C${position.longitude}`}>{t('linkGoogleMaps')}</MenuItem> <MenuItem component="a" target="_blank" href={`http://maps.apple.com/?ll=${position.latitude},${position.longitude}`}>{t('linkAppleMaps')}</MenuItem> - <MenuItem component="a" target="_blank" href={`https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=${position.latitude}%2C${position.longitude}`}>{t('linkStreetView')}</MenuItem> + <MenuItem component="a" target="_blank" href={`https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=${position.latitude}%2C${position.longitude}&heading=${position.course}`}>{t('linkStreetView')}</MenuItem> </Menu> )} <RemoveDialog |