Returns the zoom ranges of a condition of a style rule.
Required role: ORG_VIEWER, and the current user must have the VIEW permission on the project.
locale is accepted for consistency with the other endpoints, but zoom ranges have no text: the response is the same with or without it. A code that isn't a known language returns 400.
What a zoom range is
A zoom range (style map scale) belongs to a condition of a style rule. It gives the style used to draw the features matched by the condition between two zoom levels:
| Field | Content |
|---|---|
styleId | A style of your organization, compatible with the layer's element type (a compound style is checked on its first style) |
minimumZoom | From 0 to 23, default 0 |
maximumZoom | From 0 to 23, default 23. Must be greater than minimumZoom |
A condition always keeps at least one range. The ranges of a condition can't overlap; they can touch (0–10 and 10–23). Their order isn't significant.
A referenced layer uses the style rules of its source layer: style-rule must then be a rule of the source layer. Zoom ranges can be listed on a reference, but can't be created, changed or deleted there (400).
Organization
organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||