Get a style

Returns one style of your organization, with its tags.

Required role: ORG_VIEWER.

Style types

Styles belong to your organization and are used by the style rules of the layers (and as selection styles).

typeForSpecific fields (default)
POINTPointssymbolData (required: SVG, PNG, GIF or JPEG as Base64, 100 x 100 pixels at most), size (1, greater than 0), rotation (0, from 0 to less than 360), rotationLocked (false), proportional (false), proportionalScale (1), symbolOffset ({ "x": 0, "y": 0 })
LINELineslineColor (#000000), lineThickness (1), lineCap (BUTT, ROUND (default), SQUARE), lineJoin (BEVEL, ROUND, MITER (default)), lineMiterLimit (2), lineRoundLimit (1.05), dashPattern or linePatternData (an image, 128 x 128 pixels at most), arrowActive (false), arrowColor (#000000), arrowSize (1), arrowTransparency (0)
POLYGONPolygonsfillColor (#3D87CD), patternData (fill image, 128 x 128 pixels at most), patternBackgroundColor, showPatternBackgroundColor, borderColor (#000000), borderThickness (1), borderTransparency (0), borderDashPattern or borderPatternData
TEXTAnnotations and labelstextColor (#000000), outlineColor, bold, italic, typeface (AVERIA_SANS_LIBRE, BARLOW, IBM_PLEX_MONO, NOTO_SERIF, OPEN_SANS, ROBOTO, SHANTELL_SANS)
IMAGERaster, WMS and WMTS layersNone
COMPOUNDPoints or lines drawn with several stylesstyles: ids of POINT styles or of LINE styles (not mixed), in drawing order. A style can be in one compound style only.

All types have name (required, 2048 characters at most), description (2048 characters at most), transparency (from 0, opaque (default), to 100) and tags. Colors are hexadecimal (#RRGGBB or #RGB). Fields that don't apply to the type are ignored.

Organization

organization must be the organization of the access token, and the style must belong to it; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the style

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json