Add origin info

Estimated reading time: 1 minute
We recommend using Maplibre GL as vector maps provide the best user experience.

Use the origin query parameter to add additional information about the request origin.

This is typically useful when you want to distinguish between different clients using the Tile API from the same origin.

For example, if your request origin is https://www.acme.com and you set the origin query parameter value to client1, then your DynamicMaps statistics in the lab will appear in the form www.acme.com|client1.

html:repo-leaflet/add-origin-info.html embed:repo-leaflet/add-origin-info.html:toCopyAndEdit