#9278: Geographic Admin doesn't show vector overlay when LANGUAGE_BIDI is set
---------------------------------+------------------------------------------
          Reporter:  jbronn      |         Owner:  jbronn  
            Status:  new         |     Milestone:  post-1.0
         Component:  GIS         |       Version:  1.0     
        Resolution:              |      Keywords:  gis rtl 
             Stage:  Unreviewed  |     Has_patch:  1       
        Needs_docs:  0           |   Needs_tests:  1       
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by springmeyer):

  * needs_better_patch:  => 0
  * has_patch:  0 => 1
  * needs_tests:  => 1
  * needs_docs:  => 0

Comment:

 It appears that when the LANGUAGE_CODE is set to a right-to-left language
 (noted in
 
http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py#L98
 LANGUAGES_BIDI]) OpenLayers vectors are not plotted in a visible location.
 This problem is noted here: http://trac.openlayers.org/ticket/1778 and is
 prompted by the insertion of the `dir="rtl"` in the <html> element by the
 Admin App when a rtl language is requested.

 It can be avoided by adding `dir="ltr"` in the OL map div. The patch
 attached that does this.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9278#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to