laptop and a wrench

Error

Changing the image used by a PictureMarkerSymbol using the setImage method does not change the size of the symbol in the ArcGIS Runtime SDK for Qt.

Última publicación: December 14, 2015 ArcGIS Runtime SDK
Número de ID del error BUG-000092860
EnviadoDecember 9, 2015
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada10.2.6
Sistema operativoWindows OS
Versión de sistema operativo7.0 64 Bit
EstadoKnown Limit

Información adicional

With 10.2.x, just because the image setter is called a second time, does not mean the width and height setters will be called again. In any case, this situation will be avoided at the Quartz release, as there will be no default constructor. You will have to pass in a QImage or QUrl in the constructor, so to switch out the image, you will need to create a new PictureMarkerSymbol.

Solución alternativa

Use the setHeight and setWidth methods to change the dimensions of the symbol.

Pasos para reproducir

ID del error: BUG-000092860

Software:

  • ArcGIS Runtime SDK

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga