:Ym dumps Google Maps link for current position to terminal
This commit is contained in:
parent
0e63bc73bc
commit
090679e524
1 changed files with 14 additions and 0 deletions
|
@ -390,6 +390,20 @@
|
|||
</binding>
|
||||
</key>
|
||||
|
||||
<key n="109">
|
||||
<name>m</name>
|
||||
<desc>Dump Google Maps link</desc>
|
||||
<exit/>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
printf("http://maps.google.com/maps?ll=%.10f,%.10f&z=12&t=h",
|
||||
getprop("/position/latitude-deg"),
|
||||
getprop("/position/longitude-deg"));
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
||||
<key n="112">
|
||||
<name>p</name>
|
||||
<desc>Reload panel</desc>
|
||||
|
|
Loading…
Add table
Reference in a new issue