/AWS1/CL_GEM=>GETSPRITES()
¶
About GetSprites¶
GetSprites
returns the map's sprites.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_filename
TYPE /AWS1/GEMSTRING
/AWS1/GEMSTRING
¶
Sprites
API: The name of the sprite file to retrieve, following patternsprites(@2x)?.(png|json)
.Example:
sprites.png
iv_style
TYPE /AWS1/GEMMAPSTYLE
/AWS1/GEMMAPSTYLE
¶
Style specifies the desired map style for the
Sprites
APIs.
iv_colorscheme
TYPE /AWS1/GEMCOLORSCHEME
/AWS1/GEMCOLORSCHEME
¶
Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.
Example:
Light
Default value:
Light
Valid values for ColorScheme are case sensitive.
iv_variant
TYPE /AWS1/GEMVARIANT
/AWS1/GEMVARIANT
¶
Optimizes map styles for specific use case or industry. You can choose allowed variant only with Standard map style.
Example:
Default
Valid values for Variant are case sensitive.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_gemgetspritesresponse
/AWS1/CL_GEMGETSPRITESRESPONSE
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_gem~getsprites(
iv_colorscheme = |string|
iv_filename = |string|
iv_style = |string|
iv_variant = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_blob = lo_result->get_blob( ).
lv_string = lo_result->get_contenttype( ).
lv_string = lo_result->get_cachecontrol( ).
lv_string = lo_result->get_etag( ).
ENDIF.