Commit Graph

54 Commits

Author SHA1 Message Date
crschmidt
6a2fa9aaf1 Buffer set to 1 on WFS layer, since we don't have as much cause to prevent swapping.
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-21 17:17:04 +00:00
euzuro
9956bffe71 update parameter name for parallelism with the rest of the mergeNewParams() methods --- and for better readability
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1291 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-17 19:19:21 +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
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
f339e3a93d hash -> hashtable and Hash -> Object -- let there be no confusion, we are *not* using prototype
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1144 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:36:39 +00:00
euzuro
f65ea55fa3 str -> String
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1143 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:23:27 +00:00
euzuro
f3a072b151 new layerswitcher, improved google layer, boxes layer, grid fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
euzuro
65da9e491e '=' != '==' oops.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1003 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-25 21:40:02 +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
3c4d324f12 allow for user to specify an alternate tile class to use with WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@964 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 14:19:12 +00:00
euzuro
17426fcfc4 no longer need to set this parameter here now that we are correctly bubbling the setMap() call up to its two superclasses. Before, when we didnt define setMap() in WFS.js, then it was only bubbling up to Markers.js, which means that it wasnt getting the default tileSize from the map which happens in Grid.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@963 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 14:07:32 +00:00
euzuro
7651590f7d make sure setMap() bubbles up correctly to both superclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@962 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 13:37:04 +00:00
euzuro
e91d0546ee replace all usage of copyOf() with clone(). Now copyOf() is officially deprecated and unused. supported only if users out there have used it, but we can phase it out in the next official release.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 11:56:13 +00:00
euzuro
fc41d9dac1 update projection processing. if a layer (or the map) declares its projection as 'none' then no SRS parameter is added to the WMS/WFS requests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@960 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-17 15:39:44 +00:00
euzuro
7994088a7a update WFS to new clone()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@957 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-17 12:59:12 +00:00
euzuro
a3aa327d2f only add extra urls if this.urls actually exists
git-svn-id: http://svn.openlayers.org/trunk/openlayers@942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-13 12:42:19 +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
euzuro
1e5e8d1490 coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@940 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-13 11:26:38 +00:00
euzuro
a52b1fc8f1 update moveTo() function to take the 'minor' argument
git-svn-id: http://svn.openlayers.org/trunk/openlayers@935 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-11 15:06:06 +00:00
euzuro
d4587b06c0 make sure grid is set before trying to reinit tiles
git-svn-id: http://svn.openlayers.org/trunk/openlayers@908 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 17:08:49 +00:00
euzuro
b848e824d7 modify Grid to use HTTPRequest, update WMS & WFS with their necessary specifications -- capitalizing all parameters and adding SRS param from getProjection()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@888 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 01:28:48 +00:00
crschmidt
69c599b881 If there's no options passed, this would fail. So let's check that
git-svn-id: http://svn.openlayers.org/trunk/openlayers@819 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 02:38:05 +00:00
crschmidt
e7b45c4731 Commit change to WFS layer. It was breaking before, due to a lack of tileSize. This is not fixed, but is a temporary patch until I figure out the deeper reasons why.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@818 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 02:32:59 +00:00
crschmidt
38324e7295 Change Grid to not setTileSize if the tileSize passed is null. Also change WFS to not call setTileSize if it's null.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@816 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 00:33:28 +00:00
euzuro
ff0e83d0a0 bringing all changes from sandbox/euzuro/LayersReworking down into the trunk. this is a merge of r656:HEAD http://svn.openlayers.org/sandbox/euzuro/LayersReworking
git-svn-id: http://svn.openlayers.org/trunk/openlayers@806 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 23:16:26 +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
8ef2cc58d5 these layers are never base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@628 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:16:38 +00:00
euzuro
fc366b73fe recommitting r574 - the bug was in the OpenLayers.Feature destroy() function, which was not checking to ensure a valid map setting.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 16:00:00 +00:00
euzuro
e3695d2223 rollback r574. though it was a valid patch, it is causing something else to break. Better to keep code functional. Will re-commit this patch when the error has been located.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@575 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:17:57 +00:00
euzuro
ba77d478b3 add destroy method which calls destroy() on both superclasses.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@574 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:06:12 +00:00
euzuro
c90a9e9f2b move the draw() call out of the addTile() function and into the grid code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:19:47 +00:00
euzuro
77c168462b need to make WMS & WFS case-independent. I dont know why I chose to move them all to uppercase instead of lowercase, but I did. This required changing the test cases and the 'srs' property which is set in Grid. Personally, I dont think that is the best place to set it, but so be it jedi. As long as I have the mic, i'd add that having 'projection' stored in both map and layer objects seems a bit redundant as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@493 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 11:54:31 +00:00
euzuro
77c4cc2a8d protect for subclassing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 17:54:11 +00:00
euzuro
acb8dadd71 correcting comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@445 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 11:53:29 +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
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
80e048da92 dont need to position or append wfs tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@284 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:24:59 +00:00
crschmidt
4917ecac34 Change Layer.Marker to Layer.Markers.
Closes #50.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:35:38 +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
7e8417959e oops. copy/paste error
git-svn-id: http://svn.openlayers.org/trunk/openlayers@190 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:37:22 +00:00
euzuro
54f519a255 code fixes for [180]. smack me again
git-svn-id: http://svn.openlayers.org/trunk/openlayers@183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:53:35 +00:00
euzuro
9b638d91c6 coordinate method calling of subclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@179 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:05:39 +00:00
euzuro
a5671cd452 subclass WFS layer off of Layer.Marker as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@178 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:48:26 +00:00
euzuro
3f60da6dd4 use new WFS tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@169 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:18:37 +00:00
euzuro
b7d58fe9fe bubble up common functionality
git-svn-id: http://svn.openlayers.org/trunk/openlayers@165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:58:36 +00:00
euzuro
ca2c0dba41 wfs doesnt take width and height parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:52:58 +00:00
euzuro
f5a5c49ce9 adding a default parameter
git-svn-id: http://svn.openlayers.org/trunk/openlayers@163 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:50:20 +00:00
euzuro
28fe8c5a88 JSDOC coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@162 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:48:15 +00:00