[OpenLayers-Users] changing color of a feature

Piero Campa piero.campa at gmail.com
Fri Apr 2 10:49:30 EDT 2010


First I think you'd better try to test your server with some explicit HTTP
WFS request (spec: 
http://portal.opengeospatial.org/modules/admin/license_agreement.php?suppressHeaders=0&access_license_id=3&target=http://portal.opengeospatial.org/files/index.php?artifact_id=8339
http://portal.opengeospatial.org/modules/admin/license_agreement.php?suppressHeaders=0&access_license_id=3&target=http://portal.opengeospatial.org/files/index.php?artifact_id=8339
).
I think the OL requests are server-independent, but sincerely I don't know
how to help you. I couldn't find working examples on the web for you, only
people complaining for problems.

But what is the problem when you run your program? Are you on localhost?
You can try simply not specifying the namespace URI. I believe that with
Mapserver your polygons are named somehow, isn't it? If so, the name of the
group of polygons is the layerName you have to specify in the Vector
request.

Piero
-- 
View this message in context: http://n2.nabble.com/changing-color-of-a-feature-tp4841655p4842953.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list