[OSM-talk] Bug fixes multilingual map

Jochen Topf jochen at remote.org
Sun Dec 2 20:45:41 GMT 2012


Hi!

There were a few bugs with certain language combinations and with some browsers
in the multilingual map which I have fixed now. Also I have changed the way
the labels show up. Instead of () for the second line I now use [].

Look for instance at Tokyo on this map:
http://mlm.jochentopf.com/?zoom=6&lat=35.35891&lon=139.63965&layers=B0T&lang=_%7Cde

You'll see the Japanese name followed by "(Tokyo)" that is still part of the name
tag. And below it you see "[Tokio]" which is the name from the name:de-Tag.

You might have to delete your browser cache before trying this out.

Note that sometimes the name in [] appears below the other name and sometimes
right behind it. I am not doing anything different there, I guess it has something
to do with the way Mapnik renders multiline labels in different scripts. Maybe
it is because of left-to-right or right-to-left order of the script.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the talk mailing list