Get Map Icon Asset Endpoint
const url = 'https://example.com/maps/icons/example/asset';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/maps/icons/example/assetServe an uploaded or bundled icon asset by stable icon ID.
SVG responses carry Content-Security-Policy
default-src 'none'; sandbox so an uploaded SVG cannot fetch other
origins, run scripts, or read auth cookies even if validation is bypassed
in the future. Browsers (Chromium, Firefox) honor the sandbox directive on
image/svg+xml responses. PNG responses use the global SecurityHeadersMiddleware
default frame-ancestors 'self'.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”Successful Response
Example generated
exampleBad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request