crschmidt
a4c86b0489
Tag 2.3-RC3.
...
git-svn-id: http://svn.openlayers.org/tags/openlayers/release-2.3-rc3@2235 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-02-16 21:32:40 +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
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