Revision 34406 trunk/extensions/extWMS/src/com/iver/cit/gvsig/fmap/layers/WMSLayerNode.java
WMSLayerNode.java | ||
---|---|---|
163 | 163 |
private Dimension fixedSize; |
164 | 164 |
|
165 | 165 |
/** |
166 |
* <p>min scale for the layer to be visible</p> |
|
167 |
*/ |
|
168 |
private double scaleMin = -1; |
|
169 |
|
|
170 |
/** |
|
171 |
* <p>max scale for the layer to be visible</p> |
|
172 |
*/ |
|
173 |
private double scaleMax = -1; |
|
174 |
|
|
175 |
/** |
|
166 | 176 |
* @return Returns the name. |
167 | 177 |
*/ |
168 | 178 |
public String getName() { |
... | ... | |
295 | 305 |
} |
296 | 306 |
|
297 | 307 |
/** |
308 |
* <p>gets the maximum scale for this layer</p> |
|
309 |
* @return |
|
310 |
*/ |
|
311 |
public double getScaleMax() { |
|
312 |
return scaleMax; |
|
313 |
} |
|
314 |
|
|
315 |
/** |
|
316 |
* <p>gets the minimum scale for this layer</p> |
|
317 |
* @return |
|
318 |
*/ |
|
319 |
public double getScaleMin() { |
|
320 |
return scaleMin; |
|
321 |
} |
|
322 |
|
|
323 |
/** |
|
324 |
* <p>sets the minimum scale for this layer to be visible.</p> |
|
325 |
* |
|
326 |
* @param scale |
|
327 |
*/ |
|
328 |
public void setScaleMin(double scale) { |
|
329 |
scaleMin = scale; |
|
330 |
} |
|
331 |
|
|
332 |
/** |
|
333 |
* <p>sets the maximum scale for this layer to be visible</p> |
|
334 |
* @param scale |
|
335 |
*/ |
|
336 |
public void setScaleMax(double scale) { |
|
337 |
scaleMax = scale; |
|
338 |
} |
|
339 |
|
|
340 |
/** |
|
298 | 341 |
* @param name |
299 | 342 |
* @param units |
300 | 343 |
* @param unitSymbol |
Also available in: Unified diff