Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 1.75 KB

Atlas.markdown

File metadata and controls

75 lines (63 loc) · 1.75 KB
layout title date categories lang direction
post-rtl
ئەتڵەس
2024-12-03 01:16:54 +0100
jekyll update
ckb
rtl
<script src="{{ '/assets/js/dialect-atlas.js' | relative_url }}"></script> <script> var MAPS_BASE_URL = '{{ "/assets/maps" | relative_url }}'; // Load GeoJSON data fetch('{{ "/assets/maps/regions.geojson" | relative_url }}') .then(response => response.json()) .then(data => { window.REGIONS_GEOJSON = data; // Debug log to see feature properties data.features.forEach(feature => { console.log('Region properties:', feature.properties); }); }); </script> <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<style> .word-selector { width: 100%; padding: 10px; margin-bottom: 20px; font-size: 16px; font-family: 'Noto Sans Arabic', sans-serif; border: 1px solid #ddd; border-radius: 4px; } #map-container { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; } body { margin: 0; padding: 0; } #map { width: 100%; height: 100vh; background: transparent; } .leaflet-control-attribution { font-size: 11px; padding: 2px 8px; background-color: rgba(255, 255, 255, 0.8) !important; } .city-label { background: none; border: none; } .word-label div { box-shadow: 1px 1px 3px rgba(0,0,0,0.1); } </style>