four tabs for spaces
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6497 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
// maxScale: 10000000,
|
||||
// minScale: 50000000,
|
||||
// numZoomLevels: 5,
|
||||
// units: "dd",
|
||||
// units: "dd",
|
||||
minResolution: "auto",
|
||||
minExtent: new OpenLayers.Bounds(-1, -1, 1, 1),
|
||||
maxResolution: "auto",
|
||||
@@ -56,29 +56,29 @@
|
||||
</div>
|
||||
|
||||
<p id="shortdesc">
|
||||
This example shows the use of the resolutions layer option on a number of layer types.
|
||||
This example shows the use of the resolutions layer option on a number of layer types.
|
||||
</p>
|
||||
|
||||
<div id="map"></div>
|
||||
|
||||
<div id="docs">
|
||||
<div id="docs">
|
||||
<p>
|
||||
Set the extent of the viewable map using preset levels of scale available
|
||||
to the user via the zoom slider bar. You can set the minimum, maximum
|
||||
scales or resolutions, the number of levels in between and the minimum
|
||||
and maximum geographic extents in your map's units.
|
||||
Set the extent of the viewable map using preset levels of scale available
|
||||
to the user via the zoom slider bar. You can set the minimum, maximum
|
||||
scales or resolutions, the number of levels in between and the minimum
|
||||
and maximum geographic extents in your map's units.
|
||||
</p>
|
||||
<p>
|
||||
Default units for Scale are in inches. Resolution is specified in map units
|
||||
per pixel where the default map units are decimal degrees(dd).<br/>
|
||||
scale = resolution * OpenLayers.INCHES_PER_UNIT[units] *
|
||||
<p>
|
||||
Default units for Scale are in inches. Resolution is specified in map units
|
||||
per pixel where the default map units are decimal degrees(dd).<br/>
|
||||
scale = resolution * OpenLayers.INCHES_PER_UNIT[units] *
|
||||
OpenLayers.DOTS_PER_INCH <br/>
|
||||
You can either set the scale or the resolution, there is no need to set both.
|
||||
</p>
|
||||
You can either set the scale or the resolution, there is no need to set both.
|
||||
</p>
|
||||
<p>
|
||||
You can do it with a ...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user