From 2298eb9fdadc0ea7d1c222118c872aae536f9528 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 15 Jun 2007 17:38:15 +0000 Subject: [PATCH] Improve interlinking between example files and jsdoc: step one, create simple demo. git-svn-id: http://svn.openlayers.org/trunk/openlayers@3331 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/wrapDateLine.html | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/examples/wrapDateLine.html b/examples/wrapDateLine.html index 7a4cf8b12f..8e75755734 100644 --- a/examples/wrapDateLine.html +++ b/examples/wrapDateLine.html @@ -3,7 +3,7 @@ @@ -52,10 +52,30 @@ +

Wrapping the Date Line

+
+ Related to: + Layer.WMS, + Layer.MapServer, + wrapDateLine +
+ +

This example shows the use of the wrapDateLine layer option on a number of layer types.

+

This is an example that shows wrapping the date line. Wrapping the - date line is an option on the layer. + date line is an option on the layer. +

+

+ You can do it with a 'Layer.WMS' or a 'Layer.MapServer' layer. +

+
+    var mapserv = new OpenLayers.Layer.MapServer( "OpenLayers Basic", 
+                "http://labs.metacarta.com/wms/vmap0",
+                {layers: 'basic'},
+                {wrapDateLine: true} );
+