Skip to Content
0

Popover on clicking Spot in GeoMap

Feb 13, 2017 at 10:34 AM

190

avatar image

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>

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

2 Answers

Dominique Pierre Feb 14, 2017 at 07:55 AM
1

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

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

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.

0
David Garcia May 08, 2017 at 09:05 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded