euzuro
fd4d2918f1
fix for #853 - remove JSDOC comments from CLASS_NAME variables
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3787 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-23 15:09:09 +00:00
Tim Schaub
cc1b0269c9
#823 New class style. Instead of OldStyle = Class.create(); OldStyle.prototype = Class.inherit(Parent, prototype), we now use NewStyle = OpenLayers.Class(Parent, prototype). New style classes allow for backwards compatibility [you can use OldStyle = Class.create(); Class.inherit(NewStyle, prototype)]. The Class.create and Class.inherit functions are deprecated. Backwards compatibility will be removed at 3.0. Thanks Erik for the careful review.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3767 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-16 20:25:11 +00:00
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
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
cb3af3eaba
Add the ability to add a close button to popups via a final param to the
...
constructor of a popup.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1704 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-18 16:50:07 +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
crschmidt
28bff61128
Fix all cases where we have Windows line endings, and set eol-style="native"
...
on all files. Hopefully, this makes it easier for people to write patches
and do other neat things.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1424 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-09 15:46:17 +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
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
85ccc6c638
the add() and offset() functions return new copies of the OpenLayers.Pixel Objects and do not affect the original. Personally, I think this is a horrible way of doing things, but this is how it has been. Maybe something to change for in the future.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@461 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:43:45 +00:00
euzuro
a78ee9f86c
use new offset() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:28:27 +00:00
euzuro
5a95469ef0
Anchored popups now take an 'anchor' item instead of simply an 'anchorSize'. The anchor item should have both a size *and* an offset. Basically it should be an OpenLayers.Icon. If none is passed in, defaults to (0,0) size and offset. Update placement calculation to adjust for size AND offset.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@442 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 09:55:04 +00:00
crschmidt
0ec90b17e8
Commit changes to Anchored popup: add anchor width/height to top left position if we're heading in that direction. I'm still not sure how perfect this is, but it stops the bubbles from being on top of my icons.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@421 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:08:15 +00:00
euzuro
79295569a3
we should really be sure that this.lonlat is set too.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:24:48 +00:00
euzuro
53f59f25ea
changing the size of an anchored popup is a special case because the popup must remain anchored after the resize
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:22:06 +00:00
euzuro
df5455e41e
Since popups have a reference back to map, allow them to determine where they should be drawn internally. Thus we can remove the computing from the addPopup() function in Map.js.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:09:33 +00:00
euzuro
022ffde95e
moved oppositeQuadrant() function from Anchored.js to Util.js, where it is now a static function on the OpenLayers.Bounds class. Updated usage in code accordingly. Added test.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:54:45 +00:00
euzuro
cfe9479a89
JSDOC - designate private functions as such
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@342 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:44:01 +00:00
euzuro
43e218c969
no reason to override Popup's destroy() if nothing new is being destroyed
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:39:44 +00:00
euzuro
48abf71cea
fix dynamic load instruction for Popup.js subclass
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:29:48 +00:00
euzuro
854a468373
add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
euzuro
3ece5e35fd
adding skeleton for anchored popup
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:14:34 +00:00