Skip to Content
0
Jun 05, 2020 at 01:57 PM

Legend Select Event in SAPUI5 GeoMap Control.

182 Views

Hi All,

I am working on Custom SAPUI5 Application Development,which includes Map features. To Implement it, i have used sap.ui.vbm.GeoMap control and sap.ui.vk.MapContainer.

In Map Container, we have an option to set the Legend. As per my requirement, i need to have an select/click event on the Legend Item . So that i can implement the select and deselect functionality on the Spots aggregation on the GeoMap.

The default click event for the sap.ui.vbm.LegendItem/Legend, both not working in my application. I do not have any select option when i try to select the items from the legend.

So i decided to go for sap.ui.vk.ListPanel and implemented the same way how it is used in SAPUI5 Demo Kit Example.

My Question is:

1. Why the sap.ui.vbm.LegendItem/Legend l click event is not working? Or should i need to enable anything? or SAPUI5 Version Problem? (My Application Environment Supported version is 1.60.5).

2. The API sap.ui.vk.ListPanel is mentioned as Experimental API since version 1.38. So Can i use this feature in my app or will it make any impact in future?

Thank you,

Regards,

JK.

Attachments