Skip to content
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

Plugin API to get query parameters #372

Open
HideBa opened this issue Nov 22, 2022 · 0 comments
Open

Plugin API to get query parameters #372

HideBa opened this issue Nov 22, 2022 · 0 comments
Labels

Comments

@HideBa
Copy link
Member

HideBa commented Nov 22, 2022

Leader

@airslice

User story

Plug-in developers would like to be able to receive the values of query parameters in the URL. This will allow the developer to add arbitrary query parameters to the published page and change the initial values or behavior of the plugin according to those values.

Requirements

Develop plugin API

  • reearth.viewport.query: Record<string, string>

Testing list

  • [ ]
@HideBa HideBa added the PBL label Nov 22, 2022
pyshx pushed a commit that referenced this issue Apr 17, 2023
* infobox

* widgets

* widgets

* infobox theme type

* expose layersRef, add select func to layers

* add theme

* add clock apis to engine refs

* wrap refs for map ref

* support selected layer reason

* small fix

* implement crust

* add layer arg to onLayerSelect

* rename LayerSelectionReason

* fix layer selection reason

* engine onLayerSelect

* impl Map

* impl visualizer

* fix

* fix

* format

* fix test

* refactor evalFeature type

* fix data-testid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant