Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 04, 2017 at 04:05 PM

    are you able to capture the mouse click event?

    look at mouse events via jquery

    Add comment
    10|10000 characters needed 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?

  • Aug 04, 2017 at 04:05 PM

    are you able to capture the mouse click event?

    look at mouse events via jquery

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 04:05 PM

    are you able to capture the mouse click event?

    look at mouse events via jquery

    Add comment
    10|10000 characters needed characters exceeded