patch to make sure main openlayers map div has neither padding nor margin. done via css thanks to tim's fabulous new class manip patch. r=cr5 (Closes #1179)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7584 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -404,6 +404,7 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
this.id = OpenLayers.Util.createUniqueID("OpenLayers.Map_");
|
||||
|
||||
this.div = OpenLayers.Util.getElement(div);
|
||||
OpenLayers.Element.addClass(this.div, 'olMap');
|
||||
|
||||
// the viewPortDiv is the outermost div we modify
|
||||
var id = this.div.id + "_OpenLayers_ViewPort";
|
||||
|
||||
Reference in New Issue
Block a user