Java mapscript problems with graphs

maurosa maurosa at IOL.IT
Fri Oct 19 17:23:36 PDT 2007


Hi tbonfort

thank you, I did not know of the setBinding methd.

I did some tests, and it works like a champ!

To set the size-binding variable:

layer.getClass(0).getStyle(0).setBinding(0, "V1");

and this is the results:

    CLASS
      STYLE
        .....
        SIZE [V1] <<<----
        .....
      END
    END

That is exactly what I was looking for.
With this, it is possible to add classes and to set 
the binding variables on the fly.

Thanks again.

Mauro

-- 
View this message in context: http://www.nabble.com/Java-mapscript-problems-with-graphs-tf4650376.html#a13305287
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list