This project is read-only.

the PointCategory Constructor not work

Jan 10, 2012 at 8:53 AM

hi ,all  

I want to use the pointcategory to create a pointsymbolizer to add a point feature to the pointlayer like the way below:

            PictureSymbol pis = new PictureSymbol(Image, 25);

            PointCategory pc = new PointCategory(pis);

But  this way seems that take no effect !

who can tell me why?


Jan 10, 2012 at 9:07 AM

I have found why already, due to I set the property imagefilename like this pis.imagefilename="aaa.jpg", set to a not exsist file.