give the map div a reference back to the OpenLayers.Map object
git-svn-id: http://svn.openlayers.org/trunk/openlayers@975 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -115,6 +115,9 @@ OpenLayers.Map.prototype = {
|
||||
|
||||
this.div = div = $(div);
|
||||
|
||||
//give the div a reference to the OpenLayers.Map object
|
||||
div.map = this;
|
||||
|
||||
// the viewPortDiv is the outermost div we modify
|
||||
var id = div.id + "_OpenLayers_ViewPort";
|
||||
this.viewPortDiv = OpenLayers.Util.createDiv(id, null, null, null,
|
||||
|
||||
Reference in New Issue
Block a user