I have a WMS Layer(using MapServer) and i want to draw it with certain colors from OpenLayers.

Anybody know how to do such thing???

THANKS !!!

有帮助吗?

解决方案

if you have the geometry in the database try to make a WKT layer :)

其他提示

You can theme WMS layers with custom styles, using SLD (i.e. you specify custom style with SLD or SLD_BODY parameters on your GetMap requests). You can start with Server side support paragraph from http://mapserver.org/ogc/sld.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top