From 69d8ac892ff97e43f4a0d010dc80dd74663dac72 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 6 Apr 2010 23:19:02 +0000 Subject: [PATCH] Updating docs to indicate that the first argument to the map constructor can be a string or a dom element. (closes #2564) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10170 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 1d1646affb..82e801e868 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -424,9 +424,9 @@ OpenLayers.Map = OpenLayers.Class({ * ways to call the map constructor. See the examples below. * * Parameters: - * div - {String} Id of an element in your page that will contain the map. - * May be omitted if the
option is provided or if you intend - * to use later. + * div - {DOMElement|String} The element or id of an element in your page + * that will contain the map. May be omitted if the
option is + * provided or if you intend to call the method later. * options - {Object} Optional object with properties to tag onto the map. * * Examples (method one):