On Mon, 2009-03-16 at 13:55 +0100, Eric Lemoine wrote:
> Consider using OpenLayers.Protocol.HTTP.
>
> var protocol = new OpenLayers.Protocol.HTTP({
> url: "url-to-your-service",
> format: new OpenLayers.Format.GeoJSON()
> });
> protocol.read({
> callback: function(response) {
> var features = response.features;
> // features will be null if the GeoJSON stream is empty
> }
> });
>
> Hope that helps,Hi Eric, Sure it helps and it works fine ! Thanks. Didrik
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
