تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك إضافة عناصر إلى الخريطة لتحديد نقاط أو خطوط أو مناطق أو مجموعات من العناصر. تُطلِق واجهة برمجة التطبيقات Maps JavaScript API على هذه الكائنات اسم العناصر التي تظهر على سطح الخريطة. ترتبط العناصر التي تظهر على سطح الخريطة بإحداثيات خط الطول/العرض ، لذا تتحرك هذه العناصر عند سحب الخريطة أو تكبيرها أو تصغيرها.
أنواع الإعلانات التي تظهر على سطح الصفحة
تتضمّن Maps JavaScript API عدة أنواع من العناصر التي يمكن إضافتها آليًا:
نافذة المعلومات هي نوع خاص من العناصر التي تظهر على سطح الفيديو بهدف عرض محتوى (عادةً ما يكون نصًا أو صورًا) ضمن مربّع منبثق في موقع جغرافي معيّن على الخريطة. راجِع نوافذ المعلومات.
يتم عرض الخطوط على الخريطة باستخدام الخطوط المتعددة التي تمثّل تسلسلاً مرتبًا للمواقع الجغرافية. اطّلِع على الأشكال والخطوط.
يتم عرض المناطق ذات الشكل العشوائي على الخريطة باستخدام الأشكال المتعددة الأضلاع. مثل الخطوط المتعددة، المضلّعات هي تسلسل مُرتَّب لنقاط جغرافية. على عكس الخطوط المتعددة، تحدِّد المضلّعات منطقة تُحيط بها. اطّلِع على الأشكال والخطوط.
استخدِم رمزًا لتخصيص الرمز على علامة أو لإضافة صور إلى خط متعدد الأضلاع. الرمز هو صورة مستندة إلى المتجهات يتم تحديدها من خلال مسار، باستخدام رمز مسار SVG. توفّر واجهة برمجة التطبيقات أيضًا خيارات للتحكّم في كيفية عرض رمز. يُرجى الاطّلاع على الرموز.
إذا كنت تريد وضع صورة على خريطة، يمكنك استخدام صورة تمويهية للسطح. اطّلِع على تراكبات الأرض.
يمكن عرض طبقات الخريطة باستخدام أنواع الخرائط التي يتمّ تراكبها. يمكنك إنشاء مجموعة من المربّعات الخاصة بك من خلال إنشاء أنواع خرائط مخصّصة إما تحلّ محلّ مجموعات مربّعات الخريطة الأساسية أو تظهر فوق مجموعات مربّعات الخريطة الأساسية الحالية كتراكبات. اطّلِع على أنواع الخرائط المخصّصة.
تاريخ التعديل الأخير: 2025-08-10 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-08-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Maps JavaScript API uses objects called \u003cstrong\u003eoverlays\u003c/strong\u003e to designate points, lines, areas, or collections of objects on the map, which are tied to latitude/longitude coordinates.\u003c/p\u003e\n"],["\u003cp\u003eYou can add various overlay types to your map, including info windows, polylines, polygons, circles, rectangles, symbols, ground overlays, and even create custom overlays.\u003c/p\u003e\n"],["\u003cp\u003eThe Drawing Library allows users to interactively draw shapes like polylines, polygons, and markers directly on the map.\u003c/p\u003e\n"],["\u003cp\u003eGeocoding enables easy retrieval of latitude and longitude coordinates for places and addresses through requests.\u003c/p\u003e\n"],["\u003cp\u003eCustomize the appearance of markers and polylines by using symbols, which are vector-based images defined using SVG path notation.\u003c/p\u003e\n"]]],["The Maps JavaScript API uses \"overlays\" to add objects tied to latitude/longitude coordinates on a map. These include info windows for pop-up content, polylines for lines, polygons for areas, and symbols to customize marker icons. You can also use ground overlays to place images and use circles and rectangles. The Drawing Library lets users draw on the map. Geocoding is used to obtain latitudes and longitudes. Custom overlays and map types can also be implemented.\n"],null,["You can add objects to the map to designate points, lines, areas, or\ncollections of objects. The Maps JavaScript API calls these objects\n**overlays**. Overlays are tied to latitude/longitude\ncoordinates, so they move when you drag or zoom the map.\n| **Drawing Library:** If you want to allow your users to draw on the map, please refer to the [Drawing Library](/maps/documentation/javascript/drawinglayer) documentation. With the tools available in the Drawing Library, you can provide a graphical interface that lets people draw polylines, polygons and markers on the map.\n| **Geocoding:** Retrieving latitudes and longitudes for a Place or a street address is easily done with a [Geocoding](/maps/documentation/javascript/geocoding) request. It will return a list of responses, each including a `LatLng`.\n\nOverlay types\n\nThe Maps JavaScript API has several types of overlays that you can add\nprogrammatically:\n\n- An **info window** is a special kind of overlay for displaying content (usually text or images) within a popup balloon at a given location on a map. See [Info Windows](/maps/documentation/javascript/infowindows).\n- Lines on the map are displayed using **polylines** representing an ordered sequence of locations. See [Shapes and lines](/maps/documentation/javascript/shapes#polylines).\n- Areas of arbitrary shape on the map are displayed using **polygons** . Like polylines, polygons are an ordered sequence of locations. Unlike polylines, polygons define a region which they enclose. See [Shapes and lines](/maps/documentation/javascript/shapes#polygons).\n- You can also define [circles](/maps/documentation/javascript/shapes#circles) and [rectangles](/maps/documentation/javascript/shapes#circles) on the map.\n- Use a **symbol** to customize the icon on a marker or add images to a polyline. A symbol is a vector-based image defined by a path, using SVG path notation. The API also provides options to control how the symbol will be displayed. See [Symbols](/maps/documentation/javascript/symbols).\n- If you want to place an image on a map, you can use a **ground overlay** . See [Ground Overlays](/maps/documentation/javascript/groundoverlays).\n- You may also implement your own **custom overlays** by implementing the `OverlayView` interface. See [Custom Overlays](/maps/documentation/javascript/customoverlays).\n- Map layers may be displayed using **overlay map types** . You can create your own set of tiles by creating custom map types which either replace base map tile sets, or appear on top of existing base map tile sets as overlays. See [Custom Map Types](/maps/documentation/javascript/maptypes#CustomMapTypes)."]]