Skip to Content
avatar image
Former Member

Popover on clicking Spot in GeoMap

Hi all,

I wanted to open a popover on click of a Spot in sap.ui.vbm.Geomap. When Popover is given, it comes outside the geomap container. Is there a possibility to display the popover on the map ? Should I use any control over the map for the same ?

Sample code structure :-

<vk:MapContainer >
	<vk:content>
		<vk:ContainerContent>
			<vk:content>
				<vbm:GeoMap id="map" click="onClickMap">
                                .
                                .
                                .
			        </vbm:GeoMap>
			</vk:content>
		</vk:ContainerContent>
	</vk:content>
</vk:MapContainer>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 14, 2017 at 07:55 AM

    Hi,

    Did you check the explored app? The following example seems to fit what you want to achieve: https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.vbm.sample.GeoMapLabels/preview

    Cheers,

    Pierre

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Pierre for the answer.
      To be more precise about my requirement, I need something that looks exactly like the sap.m.Popover. I need to put few labels, buttons, a progress-indicator in the Popover. Is there a chance that I can achieve this with the example you have given ? I am bit new to SAPUI5, hence got no much clues how to connect the example with the requirement of mine.

  • May 08, 2017 at 09:05 AM

    I would also like to know if there is a solution for this issue. I am able to open a message popover for clusters, but not for spots.

    Thank you very much

    Add comment
    10|10000 characters needed characters exceeded