I used Infragistics Silverlight Map control and I put Linear Gradient Color Brush on individual States in the USA map. How do I do the same with the new igMap
in jQuery? Sample code please of how to put Gradient color on sections of the MAP using jQuery. I am using shape files .shp. Thanks so much for all your continued help!
Hi, trifee
Unfortunately, gradient fills are not supported yet. For details, look at the following discussion: Patterned shape fills
Cheers, Lazar
However, if you aren;t looking for a gradient color, but just want t different shade for each state, please check out our map samples, you can use the shapeStyleSelector option to get a different color shade for each state. But it wont let you specify a gradient between two colors for one shape. If the latter is what you want, what is your use case for the gradient?
Thanks for all the replies! I finally figured out how to fix my problem on jQuery igMap ... I used HTML5 Canvas to create gradient color and assigned the resulting gradient to colString instead of say 'red' or 'blue' value ...