Skip to Content
0

Open a popover on press of pin(spot) in Geomap

Aug 04, 2017 at 09:50 AM

94

avatar image
Former Member

I am trying to open a popover on click of (sap.ui.vbm.Spot)spot on (sap.ui.vbm.GeoMap)map. It also has clusters and since clusters have a DOM reference which I can give in popover.openBy() to open the popover. But for spots I could not find any element in DOM. Apparently it is painted on canvas and then rendered in DOM as a canvas. Though Geomap has events like openDetailWindow but I don't want to use that. Is there anyway that I can achieve that without using Geomap events.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Sergio Guerrero Aug 04, 2017 at 04:05 PM
0

are you able to capture the mouse click event?

look at mouse events via jquery

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for giving your attention on this.

click event for spot is provided by sapui5 but that cannot help me getting the source which I can use to open my popover and I cannot capture mouse events via jQuery since these spots are not actually present in DOM. Do you have any suggestions on this?

0
Sergio Guerrero Aug 04, 2017 at 04:05 PM
0

are you able to capture the mouse click event?

look at mouse events via jquery

Share
10 |10000 characters needed characters left characters exceeded
Sergio Guerrero Aug 04, 2017 at 04:05 PM
0

are you able to capture the mouse click event?

look at mouse events via jquery

Share
10 |10000 characters needed characters left characters exceeded