Commit Graph

27 Commits

Author SHA1 Message Date
crschmidt
df65488d3a Commit #637, "add cursor property in Feature.Vector" from pgiraud, with
minor modification: because features by default do nothing at all, change
the default cursor property (keep it at null) so that users aren't confused
when clicking has no affect. Thanks for the patch.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3040 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-10 10:19:13 +00:00
crschmidt
def14318a6 If a vector feature has a layer and it is destroyed, remove the feature from
the layer, and reset the layer to null.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2971 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-02 11:19:32 +00:00
crschmidt
833abcf6f1 #605 "OpenLayers.Feature.Vector: destroy() is defined twice" by fredj, patch
by euzuro. thx euz, fredj.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2968 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-02 10:52:10 +00:00
crschmidt
53977cf840 * Remove default styling from the Feature.Vector class.
* Add a 'style' property to the layer.
 * When a feature is added to a layer, either uses the style on the 
   layer, or uses the default feature style.
 * Add test to Layer.Vector for this funcionality 
 * Adds a preFeatureInsert hook to change a feature *before* 
   drawing it.
 * Change openmnnd demo to include the use of preFeatureInsert
   and style attribute on layer.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2949 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-01 12:08:13 +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
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
crschmidt
5280553306 IE, Safari, and Firefox all deal with XML elements with namespaces in different
ways. I can't even make thigns work in *two* browsers at once -- what a pain.
So, we'll wrap up all the browser-specific stuff in 
OpenLayers.Ajax.getElementsByTagNameNS(), which contains the browser funkies,
and as a benefit, we get working WFS in IE.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1650 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:33: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
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
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
375d968278 suggestion from #138
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1186 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-10 05:59:17 +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
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
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
bad9a0307e on destroy() of a WFS feature, remove its marker
git-svn-id: http://svn.openlayers.org/trunk/openlayers@527 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 19:01:10 +00:00
crschmidt
fcd1c509e6 r408@creusa: crschmidt | 2006-05-27 12:44:36 -0400
Commit change to Feature prototype call, reordering to put id last.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@432 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:48 +00:00
euzuro
99401464ff only create and add the marker when a Feature is actually being instantiated
git-svn-id: http://svn.openlayers.org/trunk/openlayers@410 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:12:24 +00:00
euzuro
02901cb09a add OpenLayers.Feature.WFS class as a blueprint for subclassing.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@408 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:01:33 +00:00
euzuro
e9427e5aa5 remove metacarta feature
git-svn-id: http://svn.openlayers.org/trunk/openlayers@405 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 17:39:16 +00:00
euzuro
2df02f241e porting...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 01:46:19 +00:00
euzuro
621d7074f2 Update MetaCarta.js to new Feature architecture. Soon this is going to be removed from here and renamed MCFeature.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@372 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 18:03:15 +00:00
euzuro
ad41a1df69 move xml helper functions into Util.js and adapt code to use them-- is this where we want to keep them? do we want to keep them? tests need to be written.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@292 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:35:16 +00:00
crschmidt
149d65a045 Commit old Feature class as Feature.MetaCarta. This may move out of the main OL repository at some point, and no matter what, it needs to get cleaned up before it goes too much farther.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@209 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 04:42:33 +00:00