Commit Graph

22 Commits

Author SHA1 Message Date
euzuro
1c9fc7ae36 we dont use handlers any more since r487
git-svn-id: http://svn.openlayers.org/trunk/openlayers@500 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:04:36 +00:00
euzuro
f85fb1674d add destroy() which will iterate and destroy all the features
git-svn-id: http://svn.openlayers.org/trunk/openlayers@499 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:03:52 +00:00
euzuro
60eba3e782 change Ajax.js's loadURL() function to take directly function references instead of strings to be dereferenced through a 'handlers' variable. Update code in Tile.WFS... only place it is used.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@487 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 01:15:23 +00:00
euzuro
44760110bf add layer as first param to base OpenLayers.Feature class. Redo createMarker() and add createPopup(). Redo famous WFS loop so that now it just creates features (according to the feature class passed in) and stores those features in an array. update tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@407 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:00:28 +00:00
euzuro
da27fafa98 give WFS a featureClass and have it be set in the constructor
git-svn-id: http://svn.openlayers.org/trunk/openlayers@406 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 17:56:46 +00:00
euzuro
ef37b10ef7 pass the position in as parameter on new tile creation. remove unnecessary setPosition() function, as tiles no longer really get moved. they get drawn in their div and then the div moves around. no need to make that any more complicated. update tests for that. Also, finish renaming 'grid' to 'layer' (from r369).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@390 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 02:56:49 +00:00
euzuro
3440da2c5e WFS tiles will keep track of markers, not features. Update the requestSuccess() loop to handle new Feature architecture
git-svn-id: http://svn.openlayers.org/trunk/openlayers@371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 18:02:33 +00:00
crschmidt
c0ec7f9a00 Change @require to @require:
git-svn-id: http://svn.openlayers.org/trunk/openlayers@326 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:17:22 +00:00
euzuro
ad41a1df69 move xml helper functions into Util.js and adapt code to use them-- is this where we want to keep them? do we want to keep them? tests need to be written.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@292 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:35:16 +00:00
euzuro
c506e039d8 typo. Openlayer->OpenLayers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@289 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:14:14 +00:00
crschmidt
9190dd18d2 Add @require pragma to all source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@277 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:20:31 +00:00
euzuro
1041515bfd udpatoing Tile.WFS code, removing ol.Application calls. AddingAjax.js file (do we want this?) and including it in the dynamic loader
git-svn-id: http://svn.openlayers.org/trunk/openlayers@275 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 00:22:22 +00:00
crschmidt
e7c6d4df19 Change order of Marker creation from icon, latlon to latlon,icon. I don't know why I would have done it the other way.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@215 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 20:39:33 +00:00
crschmidt
149d65a045 Commit old Feature class as Feature.MetaCarta. This may move out of the main OL repository at some point, and no matter what, it needs to get cleaned up before it goes too much farther.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@209 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 04:42:33 +00:00
euzuro
3c740acf17 append markers and features.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@194 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:41:47 +00:00
euzuro
072e0a2b04 this is a dummy commit just because on the last commit, i forgot to specify that i didnt want to commit the changes i had made to Tile/WFS.js. So, know that in [186], the change to fix the bug was *just* the modification to Grid.js. The modifications to Tile/WFS.js were just more small steps in the process of getting WFS ported and working again...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@187 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:41:37 +00:00
euzuro
61d3c4412f fixing bug introduced in [184]. just needed to be dereferencing grid (this.grid) and also to be making sure to only try to clean out when the grid has actually been initialized. SOMEBODY PUT THIS BOY IN A SANDBOX UNTIL HE CAN LEARN TO RUN THE DAMN TESTS BEFORE CHECKING IN.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@186 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:37:10 +00:00
euzuro
59fb5b050d give tiles a reference back to their container OpenLayers.Grid
git-svn-id: http://svn.openlayers.org/trunk/openlayers@180 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:19:49 +00:00
euzuro
50fe4e712f update loadFeatures() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@176 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:29:51 +00:00
euzuro
b183aa69ba add ajax code to WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@174 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:20:47 +00:00
euzuro
b7e043df92 bubble up more common functionality. no need for multiple accessors
git-svn-id: http://svn.openlayers.org/trunk/openlayers@167 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:16:38 +00:00
euzuro
27d2ac30d3 created WFS tile class based on Image tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:12:10 +00:00