@@ -23,39 +23,39 @@ export const DEFAULT_LINKS: PresetLink[] = [
2323 {
2424 id : "gmaps" ,
2525 get label ( ) : string { return getI18n ( ) . t ( "links.google-maps" ) ; } ,
26- map : "https://www.google.com/maps/@?api=1&map_action=map¢er=%LAT%,%LAT %&zoom=%ZOOM%" ,
26+ map : "https://www.google.com/maps/@?api=1&map_action=map¢er=%LAT%,%LON %&zoom=%ZOOM%" ,
2727 marker : "https://maps.google.com/maps?t=m&q=loc:%LAT%,%LON%" ,
2828 enabled : true ,
2929 commercial : true
3030 } ,
3131 {
3232 id : "gmaps-s" ,
3333 get label ( ) : string { return getI18n ( ) . t ( "links.google-maps-satellite" ) ; } ,
34- map : "https://www.google.com/maps/@?api=1&map_action=map¢er=%LAT%,%LAT %&zoom=%ZOOM%&basemap=satellite" ,
34+ map : "https://www.google.com/maps/@?api=1&map_action=map¢er=%LAT%,%LON %&zoom=%ZOOM%&basemap=satellite" ,
3535 marker : "https://maps.google.com/maps?t=k&q=loc:%LAT%,%LON%" ,
3636 enabled : true ,
3737 commercial : true
3838 } ,
3939 {
4040 id : "bing" ,
4141 get label ( ) : string { return getI18n ( ) . t ( "links.bing-maps" ) ; } ,
42- map : "https://www.bing.com/maps?cp=%LAT%~%LAT %&lvl=%ZOOM%" ,
42+ map : "https://www.bing.com/maps?cp=%LAT%~%LON %&lvl=%ZOOM%" ,
4343 marker : "https://www.bing.com/maps?q=%LAT%,%LON%" ,
4444 enabled : true ,
4545 commercial : true
4646 } ,
4747 {
4848 id : "bing-s" ,
4949 get label ( ) : string { return getI18n ( ) . t ( "links.bing-maps-satellite" ) ; } ,
50- map : "https://www.bing.com/maps?cp=%LAT%~%LAT %&lvl=%ZOOM%&style=h" ,
50+ map : "https://www.bing.com/maps?cp=%LAT%~%LON %&lvl=%ZOOM%&style=h" ,
5151 marker : "https://www.bing.com/maps?q=%LAT%,%LON%&style=h" ,
5252 enabled : true ,
5353 commercial : true
5454 } ,
5555 {
5656 id : "p4n" ,
5757 get label ( ) : string { return getI18n ( ) . t ( "links.park4night" ) ; } ,
58- get map ( ) : string { return `https://park4night.com/${ [ "fr" , "de" , "es" , "it" , "nl" ] . find ( ( l ) => l === getI18n ( ) . currentLanguage ) ?? "en" } /search?lat=%LAT%&lng=%LAT %&z=%ZOOM%` ; } ,
58+ get map ( ) : string { return `https://park4night.com/${ [ "fr" , "de" , "es" , "it" , "nl" ] . find ( ( l ) => l === getI18n ( ) . currentLanguage ) ?? "en" } /search?lat=%LAT%&lng=%LON %&z=%ZOOM%` ; } ,
5959 marker : "" ,
6060 enabled : false ,
6161 commercial : true
0 commit comments