Skip to content

Configurable search providers from config#515

Merged
nf-s merged 14 commits intoTerriaJS:mainfrom
zoran995:configurable-search-bar
Nov 24, 2023
Merged

Configurable search providers from config#515
nf-s merged 14 commits intoTerriaJS:mainfrom
zoran995:configurable-search-bar

Conversation

@zoran995
Copy link
Copy Markdown
Collaborator

TerriaMap work for #5145

Copy link
Copy Markdown
Contributor

@ljowen ljowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Added CesiumIon search as that will become the default

Comment thread wwwroot/config.json
"fallbackLanguage": "en"
},
"searchBarModel": {},
"searchProviders": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"searchProviders": [
"searchProviders": [
{
"id": "search-provider/cesium-ion-search-provider",
"type": "cesium-ion-search-provider",
"url": "https://api.cesium.com/v1/geocode/search",
"flightDurationSeconds": 1.5
},

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added, just have to wait for terriajs release before merging this

Copy link
Copy Markdown
Contributor

@nf-s nf-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @zoran995 !
This is an awesome improvement.
Thanks for reviewing the TerriaJS PR @ljowen !

@nf-s nf-s merged commit f3876b9 into TerriaJS:main Nov 24, 2023
@pjonsson
Copy link
Copy Markdown
Contributor

@nf-s since this PR updated CHANGES.md and added a date that is now a few days old, should there be a release 0.0.9 of TerriaMap?

@nf-s
Copy link
Copy Markdown
Contributor

nf-s commented Nov 30, 2023

Good point @pjonsson! Sorry for the delay, I just triggered the release

@pjonsson
Copy link
Copy Markdown
Contributor

@nf-s Thank you!

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.

4 participants