Fixed rendering issues in (vector) layers when map div has dir="rtl"
set. r=crschmidt (closes #1778) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9114 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
Shows the use of the shows drawing simple vector features, in different styles.
|
||||
</p>
|
||||
<div style="text-align: right">
|
||||
<div id="map" class="smallmap"></div>
|
||||
<div dir="rtl" id="map" class="smallmap"></div>
|
||||
</div>
|
||||
<div id="docs">
|
||||
<p>This example shows drawing simple vector features -- point, line, polygon
|
||||
|
||||
@@ -321,6 +321,7 @@ OpenLayers.Layer = OpenLayers.Class({
|
||||
this.div = OpenLayers.Util.createDiv(this.id);
|
||||
this.div.style.width = "100%";
|
||||
this.div.style.height = "100%";
|
||||
this.div.dir = "ltr";
|
||||
|
||||
this.events = new OpenLayers.Events(this, this.div,
|
||||
this.EVENT_TYPES);
|
||||
|
||||
Reference in New Issue
Block a user