Changeset 3568
- Timestamp:
- 07/03/07 13:15:37 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer.js (modified) (13 diffs)
- trunk/openlayers/lib/OpenLayers/Map.js (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer.js
r3555 r3568 101 101 /** 102 102 * Property: options 103 * {Object} 103 * {Object} An optional object whose properties will be set on the layer. 104 * Any of the layer properties can be set as a property of the options 105 * object and sent to the constructor when the layer is created. 104 106 */ 105 107 options: null, 106 108 107 109 /** 108 * Property: gutter110 * APIProperty: gutter 109 111 * {Integer} Determines the width (in pixels) of the gutter around image 110 112 * tiles to ignore. By setting this property to a non-zero … … 119 121 120 122 /** 121 * Property: projection123 * APIProperty: projection 122 124 * {String} Set in the layer options to override the default projection 123 125 * string this layer - also set maxExtent, maxResolution, and … … 127 129 128 130 /** 129 * Property: units131 * APIProperty: units 130 132 * {String} The layer map units. Defaults to 'degrees'. Possible values 131 133 * are 'degrees' (or 'dd'), 'm', 'ft', 'km', 'mi', 'inches'. … … 134 136 135 137 /** 136 * Property: scales138 * APIProperty: scales 137 139 * {Array} 138 140 */ … … 140 142 141 143 /** 142 * Property: resolutions 143 * {Array} 144 * APIProperty: resolutions 145 * {Array} A list of map resolutions (map units per pixel) in descending 146 * order. If this is not set in the layer constructor, it will be set 147 * based on other resolution related properties (maxExtent, maxResolution, 148 * maxScale, etc.). 144 149 */ 145 150 resolutions: null, 146 151 147 152 /** 148 * Property: maxExtent153 * APIProperty: maxExtent 149 154 * {<OpenLayers.Bounds>} 150 155 */ … … 152 157 153 158 /** 154 * Property: minExtent159 * APIProperty: minExtent 155 160 * {<OpenLayers.Bounds>} 156 161 */ … … 158 163 159 164 /** 160 * Property: maxResolution165 * APIProperty: maxResolution 161 166 * {Float} Default max is 360 deg / 256 px, which corresponds to 162 167 * zoom level 0 on gmaps. Specify a different value in the layer … … 167 172 168 173 /** 169 * Property: minResolution174 * APIProperty: minResolution 170 175 * {Float} 171 176 */ … … 173 178 174 179 /** 175 * Property: numZoomLevels180 * APIProperty: numZoomLevels 176 181 * {Integer} 177 182 */ … … 179 184 180 185 /** 181 * Property: minScale186 * APIProperty: minScale 182 187 * {Float} 183 188 */ … … 185 190 186 191 /** 187 * Property: maxScale192 * APIProperty: maxScale 188 193 * {Float} 189 194 */ … … 191 196 192 197 /** 193 * Property: displayOutsideMaxExtent198 * APIProperty: displayOutsideMaxExtent 194 199 * {Boolean} Request map tiles that are completely outside of the max extent 195 200 * for this layer. Defaults to false … … 198 203 199 204 /** 200 * Property: wrapDateLine205 * APIProperty: wrapDateLine 201 206 * {Boolean} #487 for more info. 202 207 */ trunk/openlayers/lib/OpenLayers/Map.js
r3565 r3568 137 137 viewRequestID: 0, 138 138 139 // Options139 // Options 140 140 141 141 /** … … 147 147 148 148 /** 149 * Property: projection149 * APIProperty: projection 150 150 * {String} Set in the map options to override the default projection 151 151 * string this map - also set maxExtent, maxResolution, and … … 155 155 156 156 /** 157 * Property: units157 * APIProperty: units 158 158 * {String} The map units. Defaults to 'degrees'. Possible values are 159 159 * 'degrees' (or 'dd'), 'm', 'ft', 'km', 'mi', 'inches'. … … 162 162 163 163 /** 164 * Property: maxResolution 164 * APIProperty: resolutions 165 * {Array} A list of map resolutions (map units per pixel) in descending 166 * order. If this is not set in the layer constructor, it will be set 167 * based on other resolution related properties (maxExtent, maxResolution, 168 * maxScale, etc.). 169 */ 170 resolutions: null, 171 172 /** 173 * APIProperty: maxResolution 165 174 * {Float} Default max is 360 deg / 256 px, which corresponds to 166 175 * zoom level 0 on gmaps. Specify a different value in the map … … 171 180 172 181 /** 173 * Property: minResolution182 * APIProperty: minResolution 174 183 * {Float} 175 184 */ … … 177 186 178 187 /** 179 * Property: maxScale188 * APIProperty: maxScale 180 189 * {Float} 181 190 */ … … 183 192 184 193 /** 185 * Property: minScale194 * APIProperty: minScale 186 195 * {Float} 187 196 */ … … 189 198 190 199 /** 191 * Property: maxExtent200 * APIProperty: maxExtent 192 201 * {<OpenLayers.Bounds>} The maximum extent for the map. Defaults to the 193 202 * whole world in decimal degrees … … 200 209 201 210 /** 202 * Property: minExtent211 * APIProperty: minExtent 203 212 * {<OpenLayers.Bounds>} 204 213 */ … … 206 215 207 216 /** 208 * Property: numZoomLevels217 * APIProperty: numZoomLevels 209 218 * {Integer} Number of zoom levels for the map. Defaults to 16. Set a 210 219 * different value in the map options if needed.
