Commit Graph

281 Commits

Author SHA1 Message Date
euzuro
eeba5a34c6 Changed OpenLayers.Bounds to use left, bottom, right, top INSTEAD OF minlon, minlat, maxlon, maxlat. Removed OpenLayers.Box which was not getting used. JSDOC/coding standard-ified the OpenLayers.Bounds code and wrote thorough testing for it. Should be all good.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 12:48:52 +00:00
crschmidt
6ab326f67d Changing all tabs to spaces, per CodingStandards.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 12:42:38 +00:00
euzuro
233a638e3e change diff to add in OpenLayers.LonLat. Even though it is not used, it is probably better to have all these Util objects be consistent. See [129]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@131 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 05:31:17 +00:00
euzuro
bb55859445 remove unused diff and diffABS functions from OpenLayers.Pixel
git-svn-id: http://svn.openlayers.org/trunk/openlayers@129 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 05:19:51 +00:00
euzuro
ac03c894dd small changes found during 5am test-writing spree
git-svn-id: http://svn.openlayers.org/trunk/openlayers@121 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 04:21:29 +00:00
crschmidt
89f3b83a4e Remove IE-specific line from example.html, and instead use the galleryImg IE specific attribute in Util.createImage. This should fix Ticket #34, but I don't have an IE to test on. galleryImg was discovered from multiple sources via google searches.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 03:48:27 +00:00
Schuyler Erle
644dc8dcb2 Fixed OpenLayers.Util.getImagesLocation(), at least until we get the single file version working again.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@114 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 01:00:11 +00:00
Schuyler Erle
11e66c0286 Create applyDefaults() function that works similarly to extend(), but without replacing existing keys.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@111 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 20:57:05 +00:00
euzuro
9235f04cce properly declare CLASS_NAME member as constant. Also, add <i> tags around examples in comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@105 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 17:11:32 +00:00
euzuro
ff2e3017f9 Changed constructor for bounds to take minlon, minlat, maxlon, maxlat as its arguments. changed all related usage and comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@104 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 16:50:12 +00:00
euzuro
fe360c91e5 another round of LatLon -> LonLat [99] revisions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@103 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 16:20:12 +00:00
euzuro
24c4b03d07 small updates to comments related to LatLon -> LonLat transition [99]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@101 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 16:11:18 +00:00
euzuro
6f242f5746 Replace all instances and usages of LatLon to LonLat
git-svn-id: http://svn.openlayers.org/trunk/openlayers@99 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:51:37 +00:00
euzuro
7d38612688 JSDOC / coding standards for Util.Bounds
git-svn-id: http://svn.openlayers.org/trunk/openlayers@95 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 14:55:29 +00:00
crschmidt
db2704c6ed Typos from erik's commit were causing Util.js to fail when loading.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@92 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 13:55:03 +00:00
euzuro
169dbb3755 JSDOC / coding standards for Util.LatLon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@91 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 13:44:47 +00:00
euzuro
f7b33fb581 JSDOC / coding standards for Util.Size
git-svn-id: http://svn.openlayers.org/trunk/openlayers@90 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 13:20:31 +00:00
euzuro
029683e84e JSDOC updates
git-svn-id: http://svn.openlayers.org/trunk/openlayers@73 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 02:02:30 +00:00
euzuro
27baf53e18 JSAN/JSDOC, coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@68 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 23:58:14 +00:00
euzuro
b0c78422aa remove extraneous diff functions. none of these was being used anyways. now all diffs return an OpenLayers.Pixel variable.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@53 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:56:49 +00:00
euzuro
a70c7c9f86 replace 'who()' function with CLASS_NAME member constant. As per email discussion
git-svn-id: http://svn.openlayers.org/trunk/openlayers@52 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:35:15 +00:00
euzuro
bd16aa9cdf replaced calls to addX and addY with calls to add. Simplify
git-svn-id: http://svn.openlayers.org/trunk/openlayers@51 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:32:11 +00:00
euzuro
a2ef49dd9c addSize() is never used. Keep it Simple
git-svn-id: http://svn.openlayers.org/trunk/openlayers@50 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:25:40 +00:00
euzuro
ca8d9c1157 copy/paste oversight
git-svn-id: http://svn.openlayers.org/trunk/openlayers@49 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:25:03 +00:00
euzuro
6605cd0984 add new 'add' method to OpenLayers.Pixel -- eventually this will replace addX, addY, and addSize.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@48 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:24:33 +00:00
euzuro
57752d9cd4 added who() function to OpenLayers.Size
git-svn-id: http://svn.openlayers.org/trunk/openlayers@47 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:21:59 +00:00
euzuro
3948a4d5a3 samePt() function never used and also duplicates functionality of equal() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@45 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:13:31 +00:00
euzuro
9d00e3830f JSAN for OpenLayers.Util
git-svn-id: http://svn.openlayers.org/trunk/openlayers@44 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:12:26 +00:00
euzuro
d3401763f3 JSAN for OpenLayers.Pixel
git-svn-id: http://svn.openlayers.org/trunk/openlayers@43 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 18:11:31 +00:00
crschmidt
f2fa6622f1 Change "OpenLayers.Point" to OpenLayers.Pixel, so there's no confusion between LatLon and Point (a problem that has
and still does afflict the Google Maps API).


git-svn-id: http://svn.openlayers.org/trunk/openlayers@19 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:59:47 +00:00
Schuyler Erle
04ba28f5a4 Revised directory structure (js/ -> lib/, test/ -> tests/) to match JSAN distribution standards, as documented at http://www.openjsan.org/documentation/dists.html.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 21:15:53 +00:00