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 |
|