PDA

View Full Version : Load SLD to a GridPanel



BeaB
8 Jun 2011, 10:54 AM
Hi Guys,

I would like to show several userStyles from a SLD-file in a GridPanel. So far I wasnít successful and I am wondering if someone could help me with that problem.
I assume that something is wrong with my store and that the store doesnít know where to look in the file to get the userStyles. I tried it with an AttributeStore like in the example from GeoExplorer http://api.geoext.org/1.0/examples/attributes.html. Is that even possible?

I also tried it with another solution. I parsed the SLD and saved it as a .json-file. Here I have the same problem that I donít know which kind of store I have to use. All these different stores are very confusing for me.

Sorry if Iím not very specific in my explanation of the problem. I just started to learn to program with Ext JS and GeoExt.

I would be very glad if someone could help me out. Thank you very much
Bea :)