Skip to Content
0
May 16, 2018 at 02:11 PM

sap.ui.vbm.AnalyticMap not able to change color of more than 100 regions

204 Views

I am showing a world map. For this i want to change default color of all regions. Below is my code for the same. However, it is changing color of first 100 regions in the json only. Rest regions are appearing grey(default color).

Code:

<vbm:AnalyticMap id="vbi" width="97%" height="295px"
initialPosition="-98.5795;39.8283;2" regionClick="onRegionClick"
 zoomlevel="3"
regionContextMenu="onRegionContextMenu"
regions="{RegionModel>/}"
class="mapContainer sapUiSmallMargin">
                                            <vbm:regions>
<vbm:Region code="{RegionModel>code}" color="rgb(92,186,230)" tooltip="{RegionModel>name}" />
</vbm:regions>
....
</vbm:AnalyticMap