euzuro
a5a63727f5
replace license link from repository to release
...
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.2@1786 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-11-08 19:43:36 +00:00
crschmidt
526298ea2e
Pullups for 2.2-rc2:
...
#371 , Link to license broken
#376 , Fix tile.clear() calls that got overrun during removal of Prototype.js
#374 , Need to bring up new licenses into 2.2 Branch
#336 , create OpenLayers.Layer.Graphic to layers created with simple static images
#375 , No need to exlude Yahoo.js from singlefile build
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.2@1740 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-27 14:26:28 +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
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
25da469210
replace useage of OpenLayers.Util.setOpacity() with OpenLayers.Util.modifyDOMElement(). Rewrite the former to use the latter, and mark the former as deprecated.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1551 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 19:38:15 +00:00
euzuro
66250b1342
add opacity support to createDiv() and createImage(). update their tests. also small update to modify tests for more completeness. updated one single complete usage of createImage() due to argument reordering
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1549 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 19:07:24 +00:00
euzuro
10e7761a97
now we can specify opacity on createAlphaImageDiv(). added tests. updated usage.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1544 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 18:38:40 +00:00
crschmidt
2cb4306beb
Tiles should not load data outside maxExtent unless the
...
'displayOutsideMaxExtent' option on the layer is set to true. Add
tests, docs, and code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1531 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 01:08:00 +00:00
crschmidt
4a65590d3e
Tile opacity patch from tschaub: Fix for #235 . Also includes tests to ensure
...
that code works.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1433 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-11 14:30:25 +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
512465037b
fix tabs
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1212 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-15 12:43:50 +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
2991ae3191
implement clear() in Image
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1155 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 06:25:54 +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
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
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
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
crschmidt
8e0793b191
Only draw transparent images if the tiles are transparent.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@681 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 19:02:33 +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
836b47c192
fix for #77 . alpha png transparency. and tests. yay.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@605 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 19:02:21 +00:00
euzuro
95d2d2275a
call Tile's destroy() after cleaning up our own business
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@522 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 17:09:41 +00:00
euzuro
97185540fa
not sure if this is necessary or not, but just in case
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@521 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 17:08:29 +00:00
euzuro
6d40072b4f
just to be absolutely sure...
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@514 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 15:57:38 +00:00
euzuro
7999a4fc06
draw function is not defined in the standard Tile class. it is meant to be implemented by subclasses. no reason to call it.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 15:47:35 +00:00
euzuro
a4d0badaeb
Fix for bug introduced with r510. Only make the removeChild call if the parentNode is properly set. This way we can zap the grid div contents quickly with the div.innerHTML = "" but still have a valid good destroy() function.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@511 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 15:33:05 +00:00
euzuro
0a1385b22d
have the Tile add itself to it's layer's div. give it a destroy() function that removes itself
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@510 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 14:34:48 +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
f115b797a3
Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 01:23:11 +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
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
b7e043df92
bubble up more common functionality. no need for multiple accessors
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@167 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:16:38 +00:00
euzuro
525c40fd4d
take advantage of createImage to set the position on creation. change point to pixel
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@159 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:29:31 +00:00
euzuro
4d27baa639
JSDOC / coding standards OpenLayers.Tile.Image
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@158 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:25:36 +00:00
crschmidt
40a00ab46b
this.img, not img
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@97 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:28:07 +00:00
crschmidt
2d312835ad
Can't setPosition before image exists.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@96 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:11:31 +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