Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JXMapKitを使用してマップアプリを作成し、ウェイポイントクラスを使用してカスタムウェイポイントを作成しました。graphics2Dオブジェクトにボタン機能を追加する方法を知る必要があります。「ボタン」インターフェースはありますか、それとも既存のボタンまたはコンポーネントクラスを拡張する必要がありますか?
この問題は、マウスクリックアクションリスナーを使用して解決され、マウスクリックがウェイポイントから小さい(つまり5ピクセル)距離であるかどうかを確認します