euzuro
b78aec44c9
coding standards. no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4115 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 12:55:51 +00:00
Tim Schaub
c2148651ed
Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns ( closes #945 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:44:10 +00:00
euzuro
b5ef77096c
wiki/NaturalDocs says we should be using 'Return:' and not 'Returns:' so this patch is fixing that. Of course, in the process, I came across not a few instances where other ND related whitespace or typos were at odds with a peaceful, uniform OL codebase. No functional changes here, just makin' things pretty.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4109 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:08:32 +00:00
crschmidt
6194452b8a
Since John already went ahead and committed the main change, I'm just going
...
to finish this one up. All commits are in comments, so a review doesn't seem
strictly neccesary. This closes #918 and fixes all the copyrights that I could
find in the code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-23 11:29:06 +00:00
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
4f70df0029
Documentation improvements provided by Glen Stampoultzis. (Thanks Glen!) Closes
...
#825 , #836 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3728 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-13 11:14:46 +00:00
Tim Schaub
0a3de3fddc
coding standards - getting rid of these tabs all at once
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3686 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-10 21:56: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
e4599ea06f
Apply patch from John Cole to make closeBox show up in AnchoredBubble
...
popups. (Thanks John!) I like this solution better than hacking Rico.
Closes #698 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-15 21:10:13 +00:00
euzuro
e93aa40e2c
fix for #555 - popup close no longer triggers events in main map
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3081 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-17 16:15:07 +00:00
euzuro
23131012dd
fix for #624 - merge stop() and safeStopPropagation()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2994 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-03 17:15:57 +00:00
crschmidt
919af2ff90
Tabs patch from Erik, to change tabs to spaces so we don't have commit
...
conflicts later on.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2920 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-29 05:53:01 +00:00
crschmidt
8e3856b4ac
Commit small change to destroy events objects when destroying objects with
...
events. This removes a number of minor memory leaks with creating/destroying
popups, layers, features, and markers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2894 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-26 00:50:31 +00:00
crschmidt
3ca974acec
Merge vector-2.4 branch back to trunk.
...
svn merge sandbox/vector-2.4/@2307 sandbox/vector-2.4/@HEAD trunk/openlayers/
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-16 13:23:56 +00:00
crschmidt
c951391368
Patch from penyaskito: setSize function got updated in AnchoredBubble,
...
but never updated in Popup.js. Fix for #422 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1940 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-11-20 17:51:11 +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
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
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
dd41ac7693
redo of r1438 to make popup use new Events-Fall-Through functionality (as introduced with r1468)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1470 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-14 20:58:46 +00:00
euzuro
7ce7f2484b
update default behaviour of popups. now you can click and drag inside a popup without the events dropping through to the map, yet if you are dragging a zoombox over a popup, it still responds. this is all thanks to a new function i am adding to Util.js which is called OpenLayers.Util.safeStopPropagaition(). Turns out the default Event.stop() from prototype.js is also calling a function called preventDefault() which disallows things like selecting text or clicking a hyperlink. all tests pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1438 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-13 08:20:02 +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
861335f356
more standardizing ids
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-08 05:23:28 +00:00
euzuro
899101ef0b
step toward standardization of id policy... for popups
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1416 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-08 04:51:32 +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
76f38a5a36
fix for #136
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1187 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-10 06:02:14 +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
3b443ca2c9
if we destroy a popup, have it remove itself from the map. good programming says that a popup should be removed by the same person who added it... but if the user destroys a popup, s/he assumes it will dissapear, and unless we remove it, it wont do that.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 15:37:51 +00:00
euzuro
99bfb9a37d
do not let the popup remove itself from parent div. that would be poor form.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@525 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 18:56:45 +00:00
euzuro
4a369cdf2a
oops. more tabs
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@479 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:33:36 +00:00
euzuro
bb61e0b358
fixing tabs
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@477 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:29:55 +00:00
euzuro
f08462465d
move Popup to the same design as Marker. Create the div in the constructor. Give popup an events object.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@416 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 01:08:00 +00:00
euzuro
ed42ea6fae
slight of the hand
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@413 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 00:04:27 +00:00
euzuro
8e0b8bbf1f
add visibility functions to popup
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@412 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:59:18 +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
euzuro
e665e10a53
coding standards.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@351 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:44:18 +00:00
euzuro
bf8c1fba02
give Popup an 'updatePosition()' function that allows it to re-position itself. This will be used for zoom changes.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@350 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:43:56 +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
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
02303334c6
now we dont have to complicate the dynamic load process.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@339 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:28:34 +00:00
euzuro
e727450196
no reason for Popup to be using an OpenLayers construct in the declaration phase. make it WIDTH and HEIGHT instead of using OpenLayers.Size.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@338 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:27:46 +00:00
euzuro
123e959c7e
add 'map' reference to standard popup. make sure to nullify it in the destroy()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@336 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:19:24 +00:00
euzuro
147d91c056
JSDOC
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@332 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:12:31 +00:00
euzuro
ca8f03bc2c
popup does not need to store reference to his parent. to remove himself, he uses parentNode directly from his Div DOMElement. see r231
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@331 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:09:23 +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
euzuro
48d97061cb
give the popup a lonlat
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@298 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 21:45:19 +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
08e7a5f10f
update Control, Marker, and Popup such that they all have draw(px) and move(px) functions. standardization. update tests.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-22 12:50:09 +00:00
euzuro
2410d94107
removed px member from OpenLayers.Popup. user must now specify a px value in the draw() method, just like with markers. updated tests
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-22 11:45:38 +00:00