Ticket #1778 (closed bug: fixed)
Openlayers fails to draw features when the map's div container has directionallity "rtl" applied
| Reported by: | openlayers | Owned by: | ahocevar |
|---|---|---|---|
| Priority: | major | Milestone: | 2.8 Release |
| Component: | general | Version: | 2.7 |
| Keywords: | Cc: | dane.springmeyer@… | |
| State: | Complete |
Description
If you have a OpenLayers Map displayed inside a div, and the div has dir="rtl", when you load features from a WFS server, they don't get properly drawn.
To reproduce, just create your div using:
<div dir="rtl" id="map" name="map"></div>
And create your map as usual (in javascript):
var map = new OpenLayers.Map("map");
( don't forget to add some WFS layer on top of the map )
This arises in arabian environments where dir="rtl" is common.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

