Adjusts picture marker symbols to ensure that they are sent to the Essentials REST endpoint in the format in which it's expecting them.
The graphic for which to adjust the marker symbol for.
A copy of the original {@link esri.symbols.PictureMarkerSymbol} with the adjustments applied or null if the supplied graphic does not contain a text symbol.
Adjusts text symbols to bring the ArcGIS API for JavaScript's interpretation of them in line with the Geocortex Essentials print and export map rest endpoints' interpretation, which may differ since Essentials caters to both the Silverlight and HTML5 viewers which handle text symbols slightly differently.
The esri {@link esri.Graphic} object containing the text symbol.
A copy of the original text symbol with the adjustments applied or null
if the supplied graphic does not contain a text symbol.
Gets the base64 representation for an image. If the image is from another domain and CORS is not configured on the server or otherwise available, the utility cannot convert the image. If this is the case, an object will be returned with the reject. This object contains an error and the url which caused the failure.
The URL of the image to encode.
Optional: Either "image/png"
or "image/jpg"
. If not specified, defaults to "image/png"
.
A Promise-like object which contains the base64 and which URL the data is for.
Static utility methods for printing.