on 2019 Jun 17 2:07 PM
Hi All,
I am working on one custom sapui5 application development. In my application i have master and detail scenario.
in my master screen i have a multi combo box. In Detail Section i have Map Display, i am using sapui5 vbm Geo map control.
Based on the selection in the master screen,multi combo box. i need to display the spots on the map display.
I need to display the spots for the selected multi combo box items alone.
Example: In my multi combo box i have a Country List. (India,Australia,etc). So if i select India i should display Indian Cities alone in the Geo map. If i select Australia it should shoe Australian cities. if i select both it should display both.
I have Data in Json Model. with latitude and Longitude.
The Problem is, if i select both India and Australia on the Combo box, i can see both country cities on the map, If i de select Australia, the corresponding spots should be deselected, but it is not getting removed.
So How to remove the Spots.
<!--for India-->
<vbm:Spots id="id_spots_in" posChangeable="true" scaleChangeable="false" items="{GeoServerIndiaModel>/GeoServerIndiaCollection}">
<vbm:items>
<vbm:Spot id="id_spot_in" image="India" position="{GeoServerIndiaModel>LONGITUDE};{GeoServerIndiaModel>LATITUDE}"></vbm:Spot>
</vbm:items>
</vbm:Spots>
<!--for Australia-->
<vbm:Spots id="id_spots_as" posChangeable="true" scaleChangeable="false" items="{GeoServerAusModel>/GeoServerAusCollection}">
<vbm:items>
<vbm:Spot id="id_spot_as" image="TurnOut" position="{GeoServerAusModel>LONGITUDE};{GeoServerAusModel>LATITUDE}"></vbm:Spot>
</vbm:items>
</vbm:Spots>
Thank you,
Regards,
JK.
Request clarification before answering.
User | Count |
---|---|
76 | |
21 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.