Skip to content

General Options: deployment-wide default TiTiler URL - #662

Open
slesaad wants to merge 1 commit into
developmentfrom
feature/general-options-titiler-url
Open

slesaad wants to merge 1 commit into
developmentfrom
feature/general-options-titiler-url

Conversation

@slesaad

@slesaad slesaad commented Nov 19, 2026

Copy link
Copy Markdown
Member

What

Configure's General Options page gets a Services → TiTiler URL field, saved as services.titilerUrl in the general options.

The dashboard already reads mmgisglobal.options.services.titilerUrl as the deployment-wide default TiTiler (ServiceUrls: per-layer titilerUrl > options.services > the bundled /titiler proxy). Until now that value could only be set through the API or the database, so each dashboard instance pointing at its own TiTiler had to repeat titilerUrl on every layer.

With it set:

Leaving it empty keeps today's behaviour.

Testing

  • npx vitest run passes.
  • On a local deployment, entering a URL and saving General Options stores {"services":{"titilerUrl": …}}, and the dashboard reports it in mmgisglobal.options.services after a reload.
  • With the EIC TiTiler set as the default on the Air4US mission, a vector layer with colorBy set to naqfc_pm25 draws a legend identical to that TiTiler's /colorMaps/naqfc_pm25 table.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant