Map constructor now calls on div argument, so that developer doesn't need to.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@57 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -56,7 +56,7 @@ OpenLayers.Map.prototype = {
|
||||
initialize: function (div, options) {
|
||||
Object.extend(this, options);
|
||||
|
||||
this.div = div;
|
||||
this.div = $(div);
|
||||
|
||||
this.viewPortDiv = OpenLayers.Util.createDiv(
|
||||
div.id + "_OpenLayers_ViewPort" );
|
||||
|
||||
Reference in New Issue
Block a user