on 2020 Mar 03 2:50 PM
hi Experts,
I have control sap.ui.vbm.GeoMap inside a Map Container and have added Resources and Spots to the Map. I am using Version SAP UI5 1.74.1.
I have binded the items in the Spots and I am able to see the multiple spot items on the Map as mentioned in the Sample below. So far so good.
Now spot has a click event. I f i try to open a window using the openWindow method on the spot ( as mentioned in SAP Samples), the window opens as expected.
evt.getSource().openDetailWindow("My Detail Window", "0", "0");
I added a Popover as fragment to my application and I am now trying to open the fragment on the click of Spot. But the program goes into exception with the following error even though the spot is visible on the Map :
20020-03-03 19:44:01.969135 sap.m.Popover id = __popover1-popover: is opened by a control which isn't rendered yet. -
On further analysis, i found that the renderer for a Spot is sap.ui.vbm.SpotsRenderer. But i could not find any .js file in the sap.ui.vbm library with the same name. So i am not sure if its because of some missing library or I am missing something else.
I have check the fragment code and am able to open it on the click of a button.
Please let me know if I am thinking in the incorrect direction or doing something wrong.
Thanks,
Vaibhav Maheshwari
Request clarification before answering.
User | Count |
---|---|
88 | |
9 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.