Changeset 5408
- Timestamp:
- 12/14/07 08:52:43 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Projection.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Projection.js
r5405 r5408 12 12 */ 13 13 OpenLayers.Projection = OpenLayers.Class({ 14 15 /** 16 * Property: proj 17 * {Object} Proj4js.Proj instance. 18 */ 19 proj: null, 14 20 21 /** 22 * Property: projCode 23 * {String} 24 */ 25 projCode: null, 26 15 27 /** 16 28 * Constructor: OpenLayers.Projection … … 76 88 */ 77 89 equals: function(projection) { 78 if (this.getCode() == projection.getCode()) { 79 return true; 80 } 81 return false; 90 return this.getCode() == projection.getCode(); 82 91 }, 83 92
