MapCopyrightNotice QML Type
El elemento MapCopyrightNotice muestra el aviso de copyright válido actual de un elemento Map. Más...
| Import Statement: | import QtLocation 6.11 |
| Since: | QtLocation 5.9 |
- Lista de todos los miembros, incluidos los heredados
- MapCopyrightNotice es parte de QML Maps Plugin.
Propiedades
- mapSource : Map
- styleSheet : string
Descripción detallada
Este objeto se puede utilizar para colocar un aviso de copyright adicional mediante programación.
Ten en cuenta que declarar un MapCopyrightNotice dentro de un elemento QtLocation::Map no es posible, como para cualquier otro QQuickItem.
El lanzamiento de esta API con Qt 5.9 es una Muestra de Tecnología.
Documentación de Propiedades
mapSource : Map
Esta propiedad contiene la fuente actual del mapa que proporciona los datos de copyright mostrados en este aviso. Para que MapCopyrightNotice muestre un copyright, debe establecerse esta propiedad, ya que es la única fuente de datos para este elemento.
styleSheet : string
Esta propiedad contiene la hoja de estilo css2.1 utilizada para dar estilo al aviso de copyright, si está en formato HTML.
Ejemplo:
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.