-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoogleMaps support #7604
base: master
Are you sure you want to change the base?
GoogleMaps support #7604
Conversation
@pmconne Part of this PR, I need to have an async version of My only solution right now, would consist in created an Any thoughts? |
The |
@pmconne @aruniverse @matmarchand Looking for feedback on the actual implementation state:
|
@pmconne An async version of |
The approach you've taken (deprecate it, add new The simplest solution would be to change All but one of your class TileTreeReference {
// Everyone who provides attributions today overrides this method.
/** @deprecated in 5.0. Use [[addAttributions]] instead. */
public addLogoCards(_cards: HTMLTableELement, _vp: ScreenViewport): void { }
// People who need async attributions, or those reacting to deprecation warnings, would override this method instead of addLogoCards.
protected addAttributions(cards: HTMLTableElement, vp: ScreenViewport): Promise<void> {
return Promise.resolve(this.addLogoCards(cards, vp);
}
} |
Thanks for the suggestion, I totally agree too much code duplication in previous approach. |
I guess the user interface is going to have to expose the provider-specific config options (property bag)? Should the provider expose a schema describing the available properties and their types? I note you've basically reintroduced the equivalent of |
Currently it's the job of the It doesn't offer though, a set of abstract types that could be shared among future providers interested in using properties bag. |
@pmconne There are function inside |
Guidelines for internal APIs. Is this what you mean? |
Not quite, |
Only if you export them from the package. |
New imagery format / proviter to support Google maps 2D tiles:
![image](https://private-user-images.githubusercontent.com/8309609/412974351-de71d4fb-dac9-4bee-aed4-43372d5d2801.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzkwNjgsIm5iZiI6MTczOTQ3ODc2OCwicGF0aCI6Ii84MzA5NjA5LzQxMjk3NDM1MS1kZTcxZDRmYi1kYWM5LTRiZWUtYWVkNC00MzM3MmQ1ZDI4MDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMjAzMjQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWE5MTYwMDAzZjBiMWI1ZmY2ODQyMDY4ODViMTE1NDBkN2UwNDRjNWEyOWI4ZTZlYmE5NTQ5YmRlZjQyODk1ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0bZswOBi8esl6hylGIzHGzzOaknHWLoFr-CeRMxbyfM)
More details available in NextVersion.md.