Commit Graph

492 Commits

Author SHA1 Message Date
euzuro
9445defb69 destroy icon on destroy
git-svn-id: http://svn.openlayers.org/trunk/openlayers@520 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:58:09 +00:00
euzuro
d4253603fb add a removeMarker() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@519 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:57:06 +00:00
euzuro
28ae47184c adding test for removeMarker()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@518 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:42:59 +00:00
euzuro
d965444bea add a default addTile() class to grid. this is only a placeholder, as it is to be implemented by subclasses.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@517 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:21:50 +00:00
euzuro
182a74d6bf coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@516 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:20:59 +00:00
euzuro
c90a9e9f2b move the draw() call out of the addTile() function and into the grid code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:19:47 +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
c7ea21480d fix tests to comply with new tile-appends-itself paradigm
git-svn-id: http://svn.openlayers.org/trunk/openlayers@512 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 15:36:59 +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
crschmidt
22d122d2ee Remove additional line that doesn't do anything useful.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@509 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 13:52:24 +00:00
crschmidt
c9e6fbe3fa r1114@creusa: crschmidt | 2006-06-05 09:56:11 -0400
Small change to events.js to set div on evt so that registered handlers can get ahold of it without using cross-browser stuff.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@508 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 13:49:56 +00:00
crschmidt
6347973fd2 r1112@creusa: crschmidt | 2006-06-05 09:53:14 -0400
MouseToolbar work. This is working for zoombox -- except for clicking for a second time to turn off the mode in the modal toolbar. 
 
 Also, no support for other tools yet.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@507 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 13:47:09 +00:00
crschmidt
137cf76e8e Typo. Was causing syntax error in Safari.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@506 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 18:29:52 +00:00
crschmidt
545ef9f97f Update readme to describe jsmin.c, jsmin.py
git-svn-id: http://svn.openlayers.org/trunk/openlayers@505 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 18:14:21 +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
crschmidt
3c97bb529c Modify build to use local python script jsmin.py. This avoids us running into problems when shrinksafe is not working (as it wasn't around noon today) and users want to build their own Single File version of OpenLayers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@503 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 18:00:04 +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
bf98cb620d give OpenLayers.Marker a destroy()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@501 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:37:20 +00:00
euzuro
1c9fc7ae36 we dont use handlers any more since r487
git-svn-id: http://svn.openlayers.org/trunk/openlayers@500 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:04:36 +00:00
euzuro
f85fb1674d add destroy() which will iterate and destroy all the features
git-svn-id: http://svn.openlayers.org/trunk/openlayers@499 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-02 16:03:52 +00:00
euzuro
51371a1ecf this is a suggested fix to #57, but it doesnt seem to work.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@498 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 16:57:19 +00:00
crschmidt
a51ef143c6 Remove build/OpenLayers.js, now that we can build this correctly with the build script. Remove the Util.js from the pre-includes because it's not supposed to need to be there, and I can't figure out why it wasn't working before: there should be no reason to have it here, and I'd rather have bugs show up and fix them than work around them.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@497 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 13:28:35 +00:00
euzuro
e0aa067cb6 remove 'projection' member from Layer. keep single instance in map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@496 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 12:30:46 +00:00
crschmidt
6cfe3e8293 Fix for places where python2.3 is not installed in /usr/bin . Note that I'm also not specifically calling 2.3 anymore, since some things don't call it by that binary name.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@495 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 12:18:07 +00:00
crschmidt
1ca58aaaa9 Fix Single File version, at least for now.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@494 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 12:07:22 +00:00
euzuro
77c168462b need to make WMS & WFS case-independent. I dont know why I chose to move them all to uppercase instead of lowercase, but I did. This required changing the test cases and the 'srs' property which is set in Grid. Personally, I dont think that is the best place to set it, but so be it jedi. As long as I have the mic, i'd add that having 'projection' stored in both map and layer objects seems a bit redundant as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@493 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 11:54:31 +00:00
euzuro
aa4d877688 add definition/instantiation protection for if anyone ever wants to subclass off of WMS.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@492 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 11:14:29 +00:00
euzuro
c7aee7fd25 add OpenLayers.Util.upperCaseObject() function and test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@491 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 10:52:22 +00:00
euzuro
128825886e move applyDefaults up to be next to (related) getParameterString()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@490 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 10:33:53 +00:00
crschmidt
f4e4541235 Fixed version of r488, my bad.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@489 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 02:10:08 +00:00
euzuro
7eaf629abf build based on r487
git-svn-id: http://svn.openlayers.org/trunk/openlayers@488 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 02:04:41 +00:00
euzuro
60eba3e782 change Ajax.js's loadURL() function to take directly function references instead of strings to be dereferenced through a 'handlers' variable. Update code in Tile.WFS... only place it is used.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@487 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 01:15:23 +00:00
euzuro
c5fc30cf97 adding OpenLayers.Bounds.fromArray() function and adaptor for fromString()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@486 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:33:15 +00:00
euzuro
e29e309ef1 adding test for OpenLayers.Bounds.fromArray()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@485 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:32:04 +00:00
euzuro
31f887a586 adding test for getSize() to OpenLayers.Bounds
git-svn-id: http://svn.openlayers.org/trunk/openlayers@484 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:14:02 +00:00
euzuro
dc2e71a1e4 merge two fromString tests into one
git-svn-id: http://svn.openlayers.org/trunk/openlayers@483 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:12:11 +00:00
euzuro
7ff1332819 minor change to calculation of center points for bounds. less overhead.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@482 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:10:06 +00:00
euzuro
0c698ad7e0 create tests for the OpenLayers.Bounds's getCenter functions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@481 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 00:08:00 +00:00
crschmidt
cd8e9a61ec Fix tests, now that I've re-added the zoom-to-world button.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@480 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:38:25 +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
b7343507b7 oops. more tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@478 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:32:50 +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
08b8a7af76 fixing tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@476 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:28:38 +00:00
euzuro
42277961da working version of singlefile.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@475 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 16:49:37 +00:00
euzuro
689cd5c5cb adding a built single-file version of OpenLayers.js. This was generated by cr5chmidt, based on r473.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@474 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 15:01:44 +00:00
crschmidt
cdd26c1df2 fix map.zoomExtent().
Re-add zoomToWorld button to PanZoom control.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@473 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 21:10:53 +00:00
Schuyler Erle
fc2eb32f5c Added arrow and zoom-world SVG sources files from Mk III.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@472 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 19:36:36 +00:00
euzuro
77c4cc2a8d protect for subclassing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 17:54:11 +00:00