< prev | next >

minScale < Attributes < Home

minScale

The minScale attribute specifies the minimum 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 minScale 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 minScale="1.0"/>
</site>

Notes

MinScale 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.