このページでは

MapCopyrightNotice QML Type

「MapCopyrightNotice」項目は、Map要素に対して現在有効な著作権表示を表示します。詳細...

Import Statement: import QtLocation 6.12
Since: QtLocation 5.9

プロパティ

詳細説明

このオブジェクトを使用すると、プログラムによって追加の著作権表示を配置することができます。

なお、他のQQuickItem と同様に、QtLocation::Map要素内でMapCopyrightNoticeを宣言することはできません。

Qt 5.9 でリリースされたこの API は、テクノロジープレビューです。

プロパティのドキュメント

mapSource : Map

このプロパティには、本通知に表示されている著作権データを提供する現在のマップソースが格納されています。MapCopyrightNotice に著作権情報を表示させるには、このプロパティを設定する必要があります。これは、この要素の唯一のデータソースであるためです。

styleSheet : string

このプロパティは、HTML形式の場合、著作権表示のスタイル設定に使用される現在のCSS2.1スタイルシートを保持します。

例:

MapCopyrightNotice {
    mapSource: myMap
    styleSheet: "body { color : green; font-family: \"Lucida\"; font-size: 8px} a{ font-size: 8px; color:#A62900}"
}

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.