RASKOLNIKOV adlı üyeden alıntı:
mesajı görüntüle
Bu Site Hangi API yi Kullanıyor Acaba ? r10+
11
●416
- 20-09-2026, 17:26:49google map tiles kullanıyor . Aşağıdaki kodu bir index.html sayfaya yapıştırıp görebilirsin :
<!DOCTYPE html> <html lang="tr"> <head> <meta charset="UTF-8"> <title>Suriye Haritası</title> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" /> <style> #map { height: 600px; width: 100%; } </style> </head> <body> <div id="map"></div> <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> <script> // Suriye const map = L.map('map').setView([35.0, 38.5], 7); // Google Hybrid L.tileLayer( 'https://mt1.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}', { maxZoom: 20, attribution: 'Google' } ).addTo(map); </script> </body> </html>
