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?

 

Thanks,

Mario

      

store = new GeoExt.data.FeatureStore({

  layer: vecLayer,

  fields: [

    {name: 'name', type: 'string'},

    {name: 'id', type: 'string'}

  ],

  proxy: new GeoExt.data.ProtocolProxy({

    protocol: new OpenLayers.Protocol.HTTP({

      url: "point.xml",

      format: new OpenLayers.Format.GML()

    })

  }),

  autoLoad: true

});

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to