Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

Build events for reusable legend component #576

Closed jolevesq closed 1 year ago

jolevesq commented 2 years ago

Build the event listener for the legend reusable component. See how the registerToPanel event is made in abstract-geoview-layers file. The event should return in his payload the React HTML component to add to a panel or direclty on the HTML page.

ychoquet commented 1 year ago

Note that registerToPanel was renamed to registerToLayerSets and the event managment (LegendsLayerSet) was done at the same time we did it for the FeatureInfoLayerSet.

jolevesq commented 1 year ago

@ychoquet does #615 will solve this issue?

ychoquet commented 1 year ago

No, we still need to work on this issue. See my comment on issue 615.

ychoquet commented 1 year ago

No, but #601 does.