[OpenLayers-Trac] Re: [OpenLayers] #2956: script protocol for
reading features cross-origin
OpenLayers
trac-20090302 at openlayers.org
Mon Jan 10 09:45:08 EST 2011
#2956: script protocol for reading features cross-origin
----------------------+-----------------------------------------------------
Reporter: tschaub | Owner: fredj
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Protocol | Version: 2.10
Keywords: | State:
----------------------+-----------------------------------------------------
Comment(by pgiraud):
Hi Tim,
I went further with your great work.
First of all, I fixed 2 typos (See
[http://trac.osgeo.org/openlayers/changeset/11022 11022]).
Then I put the OL.Protocol.HTTP:filterToParams method into a
FilterSerializer mixin so that it can be shared between HTTP and Script
protocols (See [http://trac.osgeo.org/openlayers/changeset/11023
11023])[[BR]]
This may be an advantage in two cases :[[BR]]
- this helps users if they want to create their own custom filter
serializer,[[BR]]
- this helps building a lighter library if we only want the Script
protocol, since it removes dependency on the HTTP one.[[BR]]
I also hope you're OK with me committing directly to your sandbox.
--
Ticket URL: <http://trac.openlayers.org/ticket/2956#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list