From 8e51ada8de8977799429fddc1cbcbf6b606102d2 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 19 Aug 2006 14:05:39 +0000 Subject: [PATCH] Add example for setting an extent with visual annotation via Boxes layer. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1313 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/setextent.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/setextent.html diff --git a/examples/setextent.html b/examples/setextent.html new file mode 100644 index 0000000000..d90f7b820e --- /dev/null +++ b/examples/setextent.html @@ -0,0 +1,29 @@ + + +Setting a visual Extent + + + +

Setting a Visual Extent

+

+ Because the ability to set the map to a given extent is limited by the + current resolutions available, zoomToExtent will not always set the map to + exactly the right extent. In order to visually annotate the actual extent, + this example, will use the Boxes layer to visually describe the desired + extent as well as setting the map extent. +

+
+ + +