Tim Schaub
ad54169479
Happy New Year.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-03 15:39:40 +00:00
crschmidt
f0d474e50b
Change license text to point to "OpenLayers contributors", referencing
...
authors.txt file. In reality, MetaCarta does not own copyright to these files,
they merely have a right to distribute them under the license terms agreed to
by the contributors. At this point, there is no longer any reference to
MetaCarta as a copyright holder in the OpenLayers project, only to its
individual contributors via the authors.txt file.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10706 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-01 03:06:31 +00:00
bartvde
e60dee85b9
Feature.destroy does not remove marker from layer, p=gregers, r=me ( closes #2181 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9847 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-11-27 15:54:03 +00:00
Paul Spencer
dc69fc5360
Closes #1490 . Add comment to make it clear that callers of createPopup must not call destroy on returned popups but rather use the feature.destroyPopup method.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6820 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-04-08 02:04:28 +00:00
crschmidt
09e0d3ec81
Update copyrights to 2008.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-01 08:14:55 +00:00
Tim Schaub
33e313b059
Separating jsdoc style docs into their own block. The new NaturalDocs doesn't parse these mixed blocks, giving us no class descriptions with the two together. ( closes #1229 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5553 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 08:28:09 +00:00
crschmidt
ed3221441c
Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully
...
completes an important blocker for moving forward with OSGeo incubation.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-17 02:21:22 +00:00
crschmidt
b9a04a0e9b
"In Feature.js the popup is always newly created, instead of reusing the
...
existing popup.", reported by (and original fix provided by) Bart. Patch
reworked, and tests modified to accomodate for destruction of popup. (Closes
#815 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4927 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-12 01:36:12 +00:00
crschmidt
8f402c063f
Adding Scroll Bars in TextFile Popup Windows via Layer.Text layer. ( Closes #834 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4225 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-12 01:58:27 +00:00
euzuro
17a4129b55
give a popup that is created by a feature a reference back to that feature. thanks a million to tschaub for the lightning and helpful review ( Closes #949 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 18:33:45 +00:00
euzuro
2fdf43cc8c
ND changes to createPopup function. No functional changes here.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4130 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 17:53:01 +00:00
euzuro
64c41835fa
allow for custom popup class on a feature. ( Closes #947 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4128 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 17:17:58 +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
euzuro
ea31ec076b
remove unused 'events' property from Feature ( Closes #922 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4045 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-27 08:30:59 +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
5f0bde51da
as universally approved on discussions on dev list, replace new Object() with {}. all tests pass ff & ie6
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3814 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-25 22:39:28 +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
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
euzuro
364e7d7546
remove unused local var. fixed #801 . thanks eric l.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3581 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-05 13:36:38 +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
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
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
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
73fb43712f
add onScreen() function to OpenLayers.Feature, and add tests to prove it.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1510 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-27 21:56:17 +00:00
euzuro
5804cc6cb3
small cleanup of basic OpenLayers.Feature functionality -- specifically adding full control for popup and marker creation and destruction and better comments for all that. all tests pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1503 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-26 21:46:10 +00:00
euzuro
6e2fd1bbf9
decompose the marker destruction code out so that it can be overridden in subclasses
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1497 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-20 11:24:54 +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
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
841fdcbfb3
split Util.js into two files. BaseTypes.js will contain all the OL Base types, such as Pixel, LonLat, Bounds, etc., as well as all the standard javascript basetypes (string, number, etc) extensions. All else remains in Util.js. In theory I have fixed all dependencies. If this doesn't work, I'll rollback.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1205 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 21:49:19 +00:00
crschmidt
162f0a408b
Add require statements to feature classes, so that single file build works correctly.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@997 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 11:30:50 +00:00
euzuro
16b0f1b3ef
always give features random id's. this prevents duplicate issues on zooming
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@987 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 16:00:43 +00:00
euzuro
4709d697b7
add appropriate requirements now that we are using an Util.js function in Feature.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@974 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 17:21:36 +00:00
euzuro
c0e82d966f
consolodate usage of Math.random() in OpenLayers.Util.createUniqueID()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@971 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 16:23:12 +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
fc366b73fe
recommitting r574 - the bug was in the OpenLayers.Feature destroy() function, which was not checking to ensure a valid map setting.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 16:00:00 +00:00
euzuro
82d4a1327c
when we destroy a feature, remove its popup from the map through the removePopup() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@526 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 19:00:03 +00:00
crschmidt
280abf356c
change , for ; from r502, fixes problems in FF after file is turned into single file version.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@504 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 18:12:34 +00:00
euzuro
a844ba9e80
update the destroy() for the stock OpenLayers.Feature
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@502 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:37:55 +00:00
euzuro
b8d6aaed64
have the 'data' property just set an OpenLayers.Icon object. Remove default marker image loading code as it has been bubbled down into OpenLayers.Marker.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@441 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 09:50:56 +00:00
euzuro
3f44628b44
give a feature a default, blank data
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@437 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 08:48:54 +00:00
crschmidt
528b9ef24e
Change the default icon size. If we fall back to the MC icon, we should fall back to the MC size, too.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:33:27 +00:00
crschmidt
9256cdc207
Return popup when created. If we don'tn get an offset, leave it null: let OL.Icon calculate it. fix typo in case.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@422 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:09:10 +00:00
crschmidt
43875e80af
Return the marker from the createMarker function.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@418 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 02:12:33 +00:00
crschmidt
90c4baa09b
Changing order of constructor arguments.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 02:09:03 +00:00
euzuro
3691bc54b6
read icon.offset from data object. default to (0,0)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 00:47:11 +00:00
euzuro
44760110bf
add layer as first param to base OpenLayers.Feature class. Redo createMarker() and add createPopup(). Redo famous WFS loop so that now it just creates features (according to the feature class passed in) and stores those features in an array. update tests
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@407 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:00:28 +00:00