< prev | next >

maxScale < Attributes < Home

maxScale

The maxScale attribute specifies the maximum scaling factor at which a map product is displayed when applying progressive disclosure. Its value is a floating-point number representing screen pixels per kilometer.

Supporting Tags

The maxScale attribute is supported by the <disclosure> tag. By default, a map product's visibility is not dependent on the scale of the map.

Examples

<overlay>
  <data src="myshape.shp"/>
  <disclosure minScale=0.5 maxScale="4.0"/>
</overlay>
         
<site>
  <data network="Oklahoma Mesonet"/>
  <disclosure maxScale="10.0"/>
</site>

Notes

MaxScale values should always be greater than zero. The behavior of the software with zero or negative maxScale is undefined. Future implementations will likely generate an error condition.

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.