cancel
Showing results for 
Search instead for 
Did you mean: 

How to highlight regions in Analytic map for multiples countries at a time in world map?

mishra_mayank
Explorer
0 Kudos
320

To make analytic map with regions i'm following below sample link in ui5 documentation.

https://sapui5.hana.ondemand.com/#/entity/sap.ui.vbm.AnalyticMap/sample/sap.ui.vbm.sample.AnalyticMa...

my requirement is to highlight regions of different countries in analytic map on change event of dropdown. In dropdown i have several different countries. As to highlight countries region we have to pass geojson of each country hence i did similarly and in controller i passed AnalyticMap.GeoJSONURL as below code.

in default It is able to highlight regions in USA but when i changed dropdown value to another country then again how to set value of AnalyticMap.GeoJSONURL for another country geojson? I also tried below code on change event of dropdown.


this will adding a new geojson layer of Germany on map but regions are not getting highlighted in Germany. So what to do to get such output? how to set value of AnalyticMap.GeoJSONURL in controller for different country geojson?

Thanks in advance,

Karan

Accepted Solutions (0)

Answers (0)