change color line

Tamas Szekeres szekerest at GMAIL.COM
Wed Jan 16 11:37:49 EST 2008


Hi,

You can change the color at per-layer level by changing styleObj.color
for example.
If you issue a query (by using the queryBy functions) then you can use
mapObj.drawQuery to highlight the query results.


Best regards,

Tamas


2008/1/16, Bui Anh Tin <anhtin at gmail.com>:
> hi all
> I am developing mapserver and asp.net and my database is shapefile
> i have problem when change color object line
> EX: layer DNO_th2 is Line
> objMapServer = new mapObj(strFile);
>
>  layerObj objlayer = objMapServer.getLayerByName("DNO_th2");
>
> objlayer.open();
> shapeObj objshap = objlayer.getFeature(431, -1);
>
> How can i change color this object to orther color ?
>



More information about the mapserver-dev mailing list