Skip to Content
avatar image
Former Member

How to set Geomaps, only with two colors instead of start and End color ?

Hi All,

I have a requirement with Geomaps to display India states and to color the states with only two color Green and Red based on Percentage value. If Percentage is greater than 20% make as Red and less than 20 % make it as Green.

I am able to change only one color for only one state with my CSS.

.test path.sapzengeomap-region.Overdue.IN.MH{ fill:green; }

But rest of the states picks the start and end color. Any one has idea to solve this?

Find attached image, i used Geojason files for states.

Regards,

Ramesh

legend-color.png (199.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 09, 2016 at 12:02 PM

    Ramesh - we learned at several conferences over the past few weeks that Design Studio does not have flexible geomap capabilities. You may want to consider the extensions for this https://analytics-extensions.enter.sap/

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 09, 2016 at 01:06 PM

    Hi Tammy,

    Thank you. But Good news, i am able to solve this via script and css....Its working fine as desired.

    Regards,

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded