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
538302fa9b
Pullups for 2.3:
...
svn merge svn.openlayers.org/trunk/openlayers/@2230 svn.openlayers.org/trunk/openlayers/@2233 svn.openlayers.org/branches/openlayers/2.3/
#480 Grid funkiness
#491 improper URL encoding of LAYERS list in WMS GetMap request
#500 layer.destroy() should remove itself from the map but not set new baselayer
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.3@2234 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-02-16 21:10:02 +00:00
crschmidt
7232cfa3a0
Pull up patches for the following bugs from trunk:
...
#385 : building for windows users (fix license)
#453 : IE gives new DOM elements a parent with fragment node type
#454 : Fix tests which are breaking in Opera
#455 : Util.isEquivalentUrl broken in Opera
#463 : map.setBaseLayer is a bit funky
#464 : Overview Map dissappears when on permalinked page
#465 : allow controls to live outside viewport (for real)
#466 : HTMLDivElement is still undefined in IE7 (but
OpenLayers.Util.alphaHack() is now false)
#467 : isEquivalentURL() not complete for IE
#468 : Overview MapLosing Rectangle
#469 : Default marker is incorrectly centered
#470 : Can not use "search" property IE7
#473 : Remove call to checkImgURL
#474 : overview map isn't properly updated when the argparser kicks in
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.3@2181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-01-22 23:26:32 +00:00
crschmidt
01cf10f53d
Tests, example change, and Util addition, plus usage in Tile/Image to allow
...
use of relative URLs, urls with port 80 in them, etc. patch originally from
tschaub, revised by euzuro, reviewed by me.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2093 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-12-22 19:03:32 +00:00
crschmidt
88ac5a803c
Followup to #449 : Missed part of the commit, which protects against doing
...
a checkImgURL on a tile which has been destroyed.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2092 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-12-22 18:50:30 +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
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
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