Skip to Content
avatar image
Former Member

In SAP UI5 FIORI How to show the country state area in geomap or SAP standard Map using Web IDE?

Hi All,

We have seen that using Latitude/Longitude we can show data points on GeoMap for point locations. How can we implement it to show areas or boundaries like for countries or states.

India

USA

Brazil

France

Italy etc...

How can we implement this in SAP UI5 Fiori Webide.

1. As soon as i click on particular state i will get all the Sales data of that particular state.

or

1.i want to plot circle in that case how we plot circle please share your ideas and solution.

2.As per data i want to plot circle as per sales data.

this.oData = 
   {
      regionProperties :
      [  {
            "code" : "DE",
            "region" : "Germany",
            "Revenue": 428214.13,
            "Cost": 94383.52,
            "color" : "rgb(92,186,230)",
         }, {
            "code" : "FR",
            ...
         }   
      ]
   };

In above code is it possible to add sub region 
eg. My country "code":  "IN"  sub region like "IN-AP","IN-KA"......etc
In that code i want sub region such as state so is it possible .sub region like "IN-AP","IN-KA"...... etc

Regards,

Umesh

map.jpg (233.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 03, 2017 at 12:17 PM

    Have started with the development??

    if yes please provide the screenshots/snippet (view and controller code),

    so that we can guide you based the issue you are facing?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Navya Shree
      this.oData = 
         {
            regionProperties :
            [  {
                  "code" : "DE",
                  "region" : "Germany",
                  "Revenue": 428214.13,
                  "Cost": 94383.52,
                  "color" : "rgb(92,186,230)",
               }, {
                  "code" : "FR",
                  ...
               }   
            ]
         };
      
      In above code is it possible to add sub region 
      eg. My country "code":  "IN"  sub region like "IN-AP","IN-KA"......etc
      In that code i want sub region such as state so is it possible .sub region like "IN-AP","IN-KA"...... etc