From b327ede5c6efb6c1d0c17e7bfd40aaa4329b8108 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 30 Jun 2011 05:31:41 +0000 Subject: [PATCH] Correct formatting issues with map example (doc change). git-svn-id: http://svn.openlayers.org/trunk/openlayers@12136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 38ff104258..6ffddc33c6 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -443,7 +443,7 @@ OpenLayers.Map = OpenLayers.Class({ * provided or if you intend to call the method later. * options - {Object} Optional object with properties to tag onto the map. * - * Examples (method one): + * Examples: * (code) * // create a map with default options in an element with the id "map1" * var map = new OpenLayers.Map("map1"); @@ -456,11 +456,8 @@ OpenLayers.Map = OpenLayers.Class({ * projection: "EPSG:41001" * }; * var map = new OpenLayers.Map("map2", options); - * (end) * - * Examples (method two - single argument): - * (code) - * // create a map with non-default options + * // map with non-default options - same as above but with a single argument * var map = new OpenLayers.Map({ * div: "map_id", * maxExtent: new OpenLayers.Bounds(-200000, -200000, 200000, 200000), @@ -476,6 +473,7 @@ OpenLayers.Map = OpenLayers.Class({ * units: 'm', * projection: "EPSG:41001" * }); + * (end) */ initialize: function (div, options) {