The following members of class PictureMarkerSymbolLayer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) | Picture |
Member Function Documentation
[deprecated]
PictureMarkerSymbolLayer::PictureMarkerSymbolLayer (const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a picture marker symbol layer from a URL.
- url - indicating the URL location of the image to use in the symbol layer.
- parent - The optional parent QObject.
- credential - credential for the secured resource if the image needs authentication to gain access to it.
This function sets up the following default properties: Anchor at (0, 0), offset of (0, 0), size of 13.33 DIPs (10 points), an angle of 0 degrees, width and height of (0, 0), and a nullptr
image. The function sets the URL to the string provided. After creating, call load to load the image from the URL.
The URL can be provided as a path to a local file ( "file:/<path to file>"), path to a resource image ("qrc:/<path to resource image>"), or a path to an HTTP URL image ("http://path to image").
[override virtual, deprecated]
Esri::ArcGISRuntime::Credential *PictureMarkerSymbolLayer::credential() const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::credential() const.
Returns the security credentials to access the remote resource. Only applicable if the resource is secured.
[override virtual, deprecated]
Esri::ArcGISRuntime::RequestConfiguration PictureMarkerSymbolLayer::requestConfiguration () const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::requestConfiguration() const.
Returns the RequestConfiguration in use by this symbol.
See also setRequestConfiguration().
[override virtual, deprecated]
void PictureMarkerSymbolLayer::setRequestConfiguration (const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration )
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration).
Sets configuration parameters used for network requests sent by this symbol to requestConfiguration.
See also requestConfiguration().