Skip to Content
0
Former Member
Nov 09, 2016 at 11:53 AM

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

90 Views

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

Attachments

legend-color.png (199.6 kB)