On Thursday, April 22, 2010, Mario <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hello,
>
>
>
> I’m very new to
> GeoExt, so it’s maybe a simple question to you but for me it’s
> something strange. I have set up a Store as shown in the workshop provided by 
> OpenGeo.
> The GML file point.xml will be loaded from the Web. What should be changed to
> access the data from the client?

You would provide features to the FeatureStore constructor:

new GeoExt.data.FeatureStore({
    layer: layer,
    fields: [...],
    data: features
});

where features is an array of OpenLayers.Feature.Vector objects.

If you have an existing FeatureStore you can load features into it using

store.loadData(features);


Hope it helps, and sorry for the delayed response.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to