מבוא לתיעוד של KML
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אם אתם חדשים ב-KML, כדאי להתחיל עם המדריך ל-KML, שכולל דוגמאות קצרות של קוד KML שאפשר לראות ב-Google Earth.
בהפניה ל-KML מפורט התחביר של כל רכיבי ה-KML, עם הסברים ודיאגרמות שמראים איך לציין אותם.
המדריך למפתחים כולל חומרים והסברים מפורטים ודוגמאות.
יצירה ושיתוף של קובצי KML
אפשר ליצור קובצי KML באמצעות ממשק המשתמש של Google Earth, או להשתמש בעורך XML או בעורך טקסט פשוט כדי להזין KML 'גולמי' מאפס. אפשר לדחוס קובצי KML ותמונות שקשורות אליהם (אם יש כאלה) באמצעות פורמט ZIP לארכיוני KMZ. כדי לשתף את קובצי ה-KML וה-KMZ, אפשר לשלוח אותם באימייל, לארח אותם באופן מקומי כדי לשתף אותם באינטרנט פרטי או לארח אותם באופן ציבורי בשרת אינטרנט. כמו שדפדפני אינטרנט מציגים קובצי HTML, דפדפני Earth כמו Google Earth מציגים קובצי KML. אחרי שתגדירו את השרת בצורה נכונה ותשתפו את כתובת ה-URL של קובצי ה-KML, כל מי שהתקין את Google Earth יוכל לראות את קובצי ה-KML שמאוחסנים בשרת האינטרנט הציבורי שלכם.
אפליקציות רבות מציגות KML, כולל Google Earth, NASA WorldWind, ESRI ArcGIS Explorer, Adobe PhotoShop, AutoCAD ו-Yahoo! צינורות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eNew KML users can start with the KML Tutorial for basic code samples and visualization in Google Earth.\u003c/p\u003e\n"],["\u003cp\u003eThe KML Reference offers detailed syntax and explanations for all KML elements.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find in-depth conceptual material and examples in the Developer's Guide.\u003c/p\u003e\n"],["\u003cp\u003eKML files can be created using Google Earth or text editors, shared via email or web servers, and viewed in various Earth browsers like Google Earth.\u003c/p\u003e\n"],["\u003cp\u003eKML is supported by a wide range of applications, including Google Earth, NASA WorldWind, ESRI ArcGIS Explorer, and more.\u003c/p\u003e\n"]]],[],null,["# KML Documentation Introduction\n\nIf you're new to KML, begin by browsing the [*KML Tutorial*](/kml/documentation/kml_tut), which presents short samples of KML code that you can view in Google Earth.\n\nThe *[KML Reference](/kml/documentation/kmlreference)* provides detailed syntax for all KML elements, with explanations and diagrams of how to specify them.\n\nThe *[Developer's Guide](/kml/documentation/topicsinkml)* contains in-depth conceptual material and examples.\n\nCreating and Sharing KML Files\n------------------------------\n\nYou can create KML files with the Google Earth user interface, or you can use an XML or simple text editor to enter \"raw\" KML from scratch. KML files and their related images (if any) can be compressed using the ZIP format into KMZ archives. To share your KML and KMZ files, you can e-mail them, host them locally for sharing within a private internet, or host them publicly on a web server. Just as web browsers display HTML files, Earth browsers such as Google Earth display KML files. Once you've properly configured your server and shared the URL (address) of your KML files, anyone who's installed Google Earth can view the KML files hosted on your public web server.\n\nMany applications display KML, including Google Earth, NASA WorldWind, ESRI ArcGIS Explorer, Adobe PhotoShop, AutoCAD, and Yahoo! Pipes."]]