crschmidt
0ba7961df4
Commit tile-reuse branch back to trunk. This branch offers numerous performance
...
improvements in the form of reduced memory use and lower element creating costs,
hopefully making the OpenLayers code more usable in internet explorer as well
as less of a memory hog in Firefox and other browsers. Additionally, a buffer
is available around the main map grid which allows tiles to be loaded outside
of the viewing area for faster dragging.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1137 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:47:33 +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
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
a6d4a42058
add a destroy() function and a clone() function -- they are mostly empty but they are there for people to add on. Also added a check to make sure that a grid has been loaded before trying to re-init tiles after a mergeParams. added extensive tests.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@907 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 17:07:51 +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
Schuyler Erle
44fee8a018
Added an 'alpha' option to Layer.Grid by which Layers can have the PNG alpha hack enabled on a per-Layer basis.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@840 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-30 15:41:40 +00:00
crschmidt
dcb0f24f50
Move getZoomForExtent from WMS to Grid. This also applies to WorldWind and KaMap, so having it in Grid.js means we can use it in more cases where it will matter.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@820 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 02:51:37 +00:00
crschmidt
0763e08c12
If we don't have a tileSize when we're cloning, that means we're going to pick up the default from the Map Real Soon Now (tm), so we'll just not bother setting the tile size on our cloned layer.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@815 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 00:29:39 +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
crschmidt
891fdf7a38
'true', in quotes, not true. we're checking the value that's being passed through to the WMS server.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@683 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 19:11:09 +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
7ebaf2a630
wms is not a base layer if it is transparent
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@629 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:31:44 +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
aa4d877688
add definition/instantiation protection for if anyone ever wants to subclass off of WMS.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@492 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 11:14:29 +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
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
crschmidt
2f5f40bfe1
Move projection information storage to map. Layer/Grid.js sets the projection when it creates a tile url, and it's no longer in the default params of WMS.js.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-21 18:34:01 +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
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
6f57cb4736
oops. forgot a comma. must always remember to test.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@161 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:47:11 +00:00
euzuro
bfc49a3ef4
JSDOC coding standards
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@160 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:38:14 +00:00
Schuyler Erle
4d0179df50
Added additional sensible defaults to Layer.WMS.DEFAULT_PARAMS, and fixed constructor to only set defaults on param keys that aren't already set (e.g. format). Added tests, which pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@112 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 20:58:00 +00:00
Schuyler Erle
55732b8934
Added setTileSize() method to Layer.Grid. Also, added clone() method to Layer.WMS to make up for lack of a separate data source class.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@63 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 22:26:47 +00:00
Schuyler Erle
04ba28f5a4
Revised directory structure (js/ -> lib/, test/ -> tests/) to match JSAN distribution standards, as documented at http://www.openjsan.org/documentation/dists.html .
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 21:15:53 +00:00