missing tiles, unpredictable zooming with RTL layout
See original GitHub issueLeaflet doesn’t work very well with a right-to-left layout. Tiles are missing from all but the rightmost border, and zooming doesn’t work as expected.
Test case:
<html dir="rtl">
<head>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.5/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.4.5/leaflet.js"></script>
<style>
#map { height: 100%; }
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = L.map('map').setView([51.505, -0.09], 13);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
</script>
</body>
</html>
Issue Analytics
- State:
- Created 11 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Scaling tiles for missing zoom levels in Leaflet?
One possible solution would be to use Leaflet.LimitZoom plugin. It makes possible to specify native zoom levels and allowed zoom levels.
Read more >Automatic strategies in the Siemens RTL tiled window manager
The Siemens RTL Tiled Window Manager supports an arbitrary layout of tiled windows. Windows may be placed anywhere; they do not necessarily line...
Read more >Fixed issues in Illustrator releases - Adobe Support
See the list of issues that we've fixed in the latest release of Illustrator.
Read more >View - Android Developers
Called when any RTL property (layout direction or text direction or text alignment) has been changed. void, onScreenStateChanged(int screenState).
Read more >Visual Portfolio, Photo Gallery & Post Grid – WordPress plugin
Convenient visual block editor with support to various layouts such as Masonry, Justified, Tiles, Grid, and Carousel. A well thought out design, powerful ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ayyash For me I stoped compiling of RTL leaflet css and it worked. (so its using en css in ar )
@mufaddalmw yes thats what i did too, I forced that part into ltr 👍