[OpenLayers-Users] can we draw geometries with different color?

Christopher Schmidt crschmidt at metacarta.com
Fri Jun 22 08:11:05 EDT 2007


On Fri, Jun 22, 2007 at 07:18:14PM +0800, yangzhaohui wrote:
> Hello dear sir,
>    In OpenLayers,I know we can draw different color geometry(point,line and polygon etc.) through changing style in the  "\lib\OpenLayers\Feature\Vector.js" file.But I can draw geometry with one color.Can we draw two or more geometries with different color through some OpenLayers methods? Thank you very much!
> Best wishes for you!                                                     Sincerely yours,                                                         Yang   

See the documentation in
http://openlayers.org/dev/examples/vector-features.html .

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list