crschmidt
5280553306
IE, Safari, and Firefox all deal with XML elements with namespaces in different
...
ways. I can't even make thigns work in *two* browsers at once -- what a pain.
So, we'll wrap up all the browser-specific stuff in
OpenLayers.Ajax.getElementsByTagNameNS(), which contains the browser funkies,
and as a benefit, we get working WFS in IE.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1650 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:33:33 +00:00
Schuyler Erle
4739147a2f
Removed modifications to Array.prototype and moved them into OL.Util instead. All tests pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1590 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 15:18:02 +00:00
Schuyler Erle
67ced536c0
Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 14:50:47 +00:00
crschmidt
2cb4306beb
Tiles should not load data outside maxExtent unless the
...
'displayOutsideMaxExtent' option on the layer is set to true. Add
tests, docs, and code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1531 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 01:08:00 +00:00
crschmidt
104e509eb9
Merge 2.0 branch to trunk.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:17:06 +00:00
euzuro
c1b8c8dd60
change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 23:05:05 +00:00
euzuro
96c56e9d84
added 'drawn' property to all tiles. removed redraw() and adapted all draw()s to auto handle redraw. remove getPosition() accessor that noone was using. set generic Tile's moveTo() to auto trigger the clear() and the redraw() (if desired). Update Image and WFS tile classes correspondingly. also update tests
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1198 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-12 15:54:51 +00:00
euzuro
16a0ecf41a
rewrite but this time not killing array structure by setting to a new var
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1189 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-10 06:36:14 +00:00
euzuro
5d64ebdf94
updates so WFS *should* work with new tiling algorithm
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1154 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 06:24:28 +00:00
euzuro
8e5acd019a
declare urls property in wfs tile
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1148 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 05:58:37 +00:00
euzuro
f3d6fb8718
add JSDOC commenting and stub moveTo function in WFS tile
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1147 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 05:42:42 +00:00
euzuro
51ac2b4acf
remove useless or duplicate functions from Util.js -- no more: Array prepend() append() -- use push() and unshift(). clear() and indexOf() both removed as they are duplicated in Prototype.js -- all instances replaced and tests updated.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:31:06 +00:00
euzuro
a559e87775
decomposed in r989 but forgot to put the link.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1014 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 21:14:39 +00:00
euzuro
b063447471
move getFeature() to the Layer
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-21 19:19:54 +00:00
euzuro
82d335df03
add a getFeature() to Tile.WFS
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@994 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-21 19:07:33 +00:00
euzuro
4f208e2207
now with multiple wfs servers, we do NOT want to clear this list. argh.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 18:01:37 +00:00
euzuro
3351e2ceb1
decompose addResults() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@989 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 16:41:38 +00:00
euzuro
ca8993dd68
only send up arguments if not blank
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@982 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-19 16:41:36 +00:00
euzuro
a046bb2b31
bug hidden from change to multiple WFS
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@972 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 16:31:39 +00:00
euzuro
bd9ee403f2
updates to allow a wfs layer to query multiple wfs servers with the same parameters. untested, but all tests pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@941 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-13 12:33:22 +00:00
Schuyler Erle
c92cd6d88a
Pulled down bug fixes, example updates, etc. r717:r787 from source:/branches/openlayers/1.0.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@788 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 04:40:52 +00:00
Schuyler Erle
ead31f6dc6
Added license headers to all JS source files.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 15:22:48 +00:00
euzuro
0853af657b
doesnt look like we're going to add a logger any time soon. might as well get rid of these old logger references.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 19:03:04 +00:00
euzuro
95d2d2275a
call Tile's destroy() after cleaning up our own business
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@522 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 17:09:41 +00:00
euzuro
7999a4fc06
draw function is not defined in the standard Tile class. it is meant to be implemented by subclasses. no reason to call it.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 15:47:35 +00:00
crschmidt
137cf76e8e
Typo. Was causing syntax error in Safari.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@506 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 18:29:52 +00:00
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