Skip to Content
0
Jun 16, 2020 at 06:13 AM

How to change the Selection Mode in GeoMap ?

57 Views

Hi All,

I am working on Custom Application Development, in my application scenario i need to show the GeoMap with Selection Options.

I used sap.ui.vk.MapContainer for the Single Selection,Rectangular Selection and Lasso Selection. So it working as expected.

But when i try to change the selection mode pragmatically, i used the below functions.

oMapContentView.byId("id_geomap_notification").setRectangularSelection(false);
//id is referring to the sap.ui.vbm.GeoMap
oMapContentView.byId("id_geomap_notification").setLassoSelection(false);

With the above code i can change the selection mode, but in the UI it still pointing to existing applied selection mode. Unless i change it to manually it pointing the same.

How to change it do the Single Selection mode via code?

Thanksℜgards,

JK.

Attachments