Commit Graph

37 Commits

Author SHA1 Message Date
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
euzuro
33c87bf3b6 fix for #784 -- adds some commenting and readability to the tile.draw() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3462 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-27 23:48:25 +00:00
crschmidt
057d574ec1 From Erik, "add strategic TBD 3.0 comments to remind us to remove the 'url'
var from OpenLayers.Tile's constructor." This has no affects other than to
let people know now that this behavior will change in future versions of 
OpenLayers.  #647.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3034 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-09 14:08:09 +00:00
Schuyler Erle
436d1b5d11 Update/enhance some module dependencies.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-08 20:14:34 +00:00
crschmidt
7e9eef8d07 Commit a number of improvements to grid handling from #449. This adds
support for buffer:0 on grids, and includes changes to Remove extra 
rows and columns from the grid in _initTiles when reusing an existing 
grid, which is a fix to #357 and #436. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2091 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-12-22 18:35:04 +00:00
crschmidt
046fbf0662 Patch for #430 by Tim Schaub. Reviewed, passes all tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2017 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-12-06 21:25:19 +00:00
Tim Schaub
9f9c366154 Apply patch for #376 - fixing tile.clear() calls that were mistakenly replaced with OpenLayers.Util.clearArray() at r1590
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1738 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-26 15:22:37 +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
crschmidt
7c2a8a0cab The OpenLayers server threw a disk, and clobbered another, resulting in a loss
of data up to our last backup. In the previous subversion repository, this was
r1694->r1777. I'm sorry to all those of you who might have checked out that 
code, as this will surely cause problems for you. We're currently working to
figure out what went wrong, and how to prevent it in the future.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1695 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-13 20:41:21 +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
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
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
b3c10c0892 remove unused remove function, add new clear() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 06:11:31 +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
3a9d4e8852 we have no logger now and i doubt we ever will
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1145 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:39:33 +00:00
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
9a5f6c8d33 start tile & layer id's with standard strings, to avoid funky characters when later these ids are used as parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@983 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-19 17:09:18 +00:00
euzuro
2def6f6327 give Tile a unique id. add tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@980 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-19 14:47:41 +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
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
53e919b45b change reference variable name from 'grid' to 'layer'. even though it will always be a grid, all grids are layers. better to keep it clear and use the base class name.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 17:54:55 +00:00
euzuro
20a13f43a6 make a destroy method and a clear grid. preventing circular refrences and memory leaks
git-svn-id: http://svn.openlayers.org/trunk/openlayers@184 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 16:25:19 +00:00
euzuro
af81e44e9a JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:21:04 +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
70a702a9b0 bubble up the setPosition into the main Tile class. then let subclasses override it if they need to do special things (as in the case of Image).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@173 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:11:56 +00:00
euzuro
78ba803e36 this guy was supposed to get updated in [167]. typo on the commit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@168 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:17:12 +00:00
euzuro
9235f04cce properly declare CLASS_NAME member as constant. Also, add <i> tags around examples in comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@105 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 17:11:32 +00:00
euzuro
6f242f5746 Replace all instances and usages of LatLon to LonLat
git-svn-id: http://svn.openlayers.org/trunk/openlayers@99 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:51:37 +00:00
euzuro
a70c7c9f86 replace 'who()' function with CLASS_NAME member constant. As per email discussion
git-svn-id: http://svn.openlayers.org/trunk/openlayers@52 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:35:15 +00:00
euzuro
bdd3fe8448 new code seems to be using 'who()' function instead of 'getName()'
git-svn-id: http://svn.openlayers.org/trunk/openlayers@42 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 17:50:28 +00:00
euzuro
a8bf08cca3 coding standards proposal using logger to document unimplemented functions in subclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@41 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 17:48:04 +00:00
euzuro
ac918d50a4 JSAN
git-svn-id: http://svn.openlayers.org/trunk/openlayers@40 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 17:39:30 +00:00
crschmidt
f2fa6622f1 Change "OpenLayers.Point" to OpenLayers.Pixel, so there's no confusion between LatLon and Point (a problem that has
and still does afflict the Google Maps API).


git-svn-id: http://svn.openlayers.org/trunk/openlayers@19 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:59: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