crschmidt
dd0b86b6d9
Tag 2.5-rc1 (and update license files)
...
git-svn-id: http://svn.openlayers.org/tags/openlayers/release-2.5-rc1@4347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-17 04:25:35 +00:00
crschmidt
cf7544c8e1
Reverse order of destroying and removeTileMonitoringHooks. Thx for review,
...
Schuyler! (Closes #976 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-15 15:35:24 +00:00
Tim Schaub
2478677985
Deprecating all prototype extensions. This puts all OpenLayers functionality in the OpenLayers namespace. If you are using any of the Function, String, or Number prototype extensions, start using the functional equivalents in the OpenLayers namespace - the prototype extensions will be gone in 3.0 ( closes #712 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4302 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-14 20:08:47 +00:00
euzuro
ff82936fba
Add 'loadstart' and 'loadend' events to some of our exciting layers like WFS, GML, GeoRSS, and Text. tests to back it up. ( Closes #808 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-13 01:23:06 +00:00
crschmidt
8c5aec16fa
Missed documenting this because it's only used in the tile, so it
...
never got stuck in the apiproperties. (Commit will fix docs related
to recent question asked by user on IRC. Thanks, hobu.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4189 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-04 20:39:15 +00:00
Tim Schaub
c2148651ed
Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns ( closes #945 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:44:10 +00:00
euzuro
b5ef77096c
wiki/NaturalDocs says we should be using 'Return:' and not 'Returns:' so this patch is fixing that. Of course, in the process, I came across not a few instances where other ND related whitespace or typos were at odds with a peaceful, uniform OL codebase. No functional changes here, just makin' things pretty.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4109 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:08:32 +00:00
crschmidt
2762e3ea47
Stop WFS layer from requesting data when layer is not in range. ( Closes #685 )
...
Note that this is not a complete fix, but instead a patch for 2.5:
after 2.5, this should be changed/removed when map.setCenter() is
fixed. (See #937 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4069 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-28 12:01:47 +00:00
euzuro
2f9dbd1396
deprecate use of 'minZoomLevels' in WFS layer. ( Closes #672 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4056 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-27 16:18:14 +00:00
crschmidt
c8afa7222b
Allow for users to determine whether the bounding box should be encoded or
...
not on WMS and WFS layers. This change, by default, makes us compliant
with the WMS spec again.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4038 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-24 23:50:43 +00:00
crschmidt
6194452b8a
Since John already went ahead and committed the main change, I'm just going
...
to finish this one up. All commits are in comments, so a review doesn't seem
strictly neccesary. This closes #918 and fixes all the copyrights that I could
find in the code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-23 11:29:06 +00:00
Tim Schaub
82b0059952
#900 - adding semi-colon for single file build
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3878 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-10 20:04:03 +00:00
Tim Schaub
b09585b603
#874 - stop global namespace pollution and actually set state on features instead of i - thanks crschmidt for the test
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3838 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-02 18:04:47 +00:00
euzuro
8c552be94b
as universally approved on discussions on dev list, replace new Array() with []. all tests pass ff & ie6
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3815 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-25 22:48:02 +00:00
euzuro
fd4d2918f1
fix for #853 - remove JSDOC comments from CLASS_NAME variables
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3787 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-23 15:09:09 +00:00
Tim Schaub
cc1b0269c9
#823 New class style. Instead of OldStyle = Class.create(); OldStyle.prototype = Class.inherit(Parent, prototype), we now use NewStyle = OpenLayers.Class(Parent, prototype). New style classes allow for backwards compatibility [you can use OldStyle = Class.create(); Class.inherit(NewStyle, prototype)]. The Class.create and Class.inherit functions are deprecated. Backwards compatibility will be removed at 3.0. Thanks Erik for the careful review.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3767 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-16 20:25:11 +00:00
euzuro
ad52e8c6fd
fix for #787 - put clearArray() in its place ((marked as deprecated, throwing a console warning during use, all usage replaced in code))
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3636 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-06 22:55:17 +00:00
euzuro
cdd6acc413
fix for #800 - the mergeNewParams function is now simplified. the only time it need be overridden now is in WMS, which mandates that all parameters should be uppercased. thanks for the review and the added test, tim.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3584 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-05 14:24:15 +00:00
euzuro
c06608c7d0
coding standards. lines should be less than 79 characters
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-03 22:54:42 +00:00
euzuro
b2371b7162
fix for #699 - give WFS layer a mergeNewParams()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3575 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-03 22:23:20 +00:00
crschmidt
3948913bfc
Merge all changes from the naturaldocs sandbox. This brings all the work that
...
has been done in the NaturalDocs branch back to trunk. Thanks to everyone who
helped out in making this happen. (I could list people, but the list would
be long, and I'm already mentally on vacation.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-29 15:59:20 +00:00
crschmidt
115fc7462b
Commit the part of #664 for map resize changes, with a regression test to
...
boot. Thanks for the patch, Tim.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3076 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-14 05:34:52 +00:00
Schuyler Erle
45407e9eda
add Vector.destroyFeatures() and call it from WFS.moveTo(), which keeps WFS
...
from loading the same set of features multiple times. Includes tests. fixes
#622 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2996 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-03 21:02:59 +00:00
crschmidt
e6722b4ec7
Aplly patch from hobu for #539 . This fixes a broken commitSuccess method.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2811 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-17 20:06:26 +00:00
crschmidt
8ddfb3fba7
Leftover piece that didn't get committed in sandbox. (WFS Layer won't
...
save without this.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2805 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-16 13:51:46 +00:00
crschmidt
3ca974acec
Merge vector-2.4 branch back to trunk.
...
svn merge sandbox/vector-2.4/@2307 sandbox/vector-2.4/@HEAD trunk/openlayers/
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-16 13:23:56 +00:00
crschmidt
786c2a20fb
Change files to point to repository-license. Part of build process will now
...
be to change the licensing terms in the final build.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1721 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-24 18:16:39 +00:00
Schuyler Erle
3be99e67e6
Convert all classes to use new-style class definitions. All tests pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:57:33 +00:00
Schuyler Erle
95ec8bdc82
Update Layer classes to use new Class.create/inherit functions.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1649 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:33:29 +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
euzuro
0adeb2670d
changing 'minor' parameter name to 'dragging' for consistency
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 04:35:04 +00:00
euzuro
f582775d11
- Removed unnecessary accessors from OpenLayers.Layer: getProjection(),
...
getMaxExtent(), getMaxResolution(), and getNumZoomLevels(). They were just
wrapping around the properties. better to just access the property directly.
Needed to update for these removals in many different files.
- Improved initResolutions() functionality. It is now I believe both thorough
and complete. The only exception is that we should maybe allow a way for
the user to set up resolutions[] array using only minResolution and
numZoomLevels instead of only maxResolution and numZoomLevels... but I'm not
really sure anyone would ever really want to use that. And at any rate, I
don't know the math for how to do it. I'm sure schuyler or Dr. 5 would.
Oh. for a summary of how initResolutions works, see:
http://trac.openlayers.org/wiki/SettingZoomLevels
- Move getResolution(), initResolutions() out of HTTPRequest and into Layer. On
thinking this through (and trying to write documentation), I realized that
the real, true, GENERIC case for a layer will be using this awesome
resolutions[] array that allows for setting number of zoom levels, default
max resolutions, special scale arrays, etc.
- Updated code for getZoomForExtent() to work with resolutions[] array, instead
of using the the log 2 equation.
- Move standard getZoomForExtent() and getExtent() out of Grid and into
Layer. Like above, there is no reason for these methods to be found so far
down in the food chain. They are part of the generic calculations for
generic layers, so they belong in Layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1379 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-26 02:51:38 +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
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