📄 النص الكامل للصفحة
--- SECTION: Top Navigation Bar ---
MIT APP INVENTOR
Projects
Connect
Build
Settings
Help
My Projects
View Trash
Guide
Report an issue
English
qkhaled.bil@gmail.com
Designer
Blocks
--- SECTION: Palette Panel ---
Visit_SA_App
AlMasmak
Add Screen
Remove Screen
Publish to Gallery
Palette
Search Components
User Interface
Layout
Media
Drawing and Animation
Maps
Circle
FeatureCollection
LineString
Map
Marker
Navigation
Polygon
Rectangle
Charts
Sensors
Social
Storage
Connectivity
LEGO® MINDSTORMS®
Experimental
Extension
--- SECTION: Viewer Panel (Simulated Phone Screen) ---
Viewer
Display hidden components in Viewer
Phone size (506,320)
9:48
Discover Saudi Arabia
Al Masmak
Text for Label1
--- SECTION: Components and Properties Panels ---
Components
AlMasmak
discover_label
VerticalArrangement1
title_label
image
description_label
HorizontalArrangement1
map_button
Map1
Properties
Map1
CenterFromString
42.358144, -71.093612
EnablePan
EnableRotation
EnableZoom
Height
Fill parent
Width
Fill parent
LocationSensor
None
MapType
Roads
Rotation
0.0
ScaleUnits
Metric
ShowCompass
ShowScale
ShowUser
ShowZoom
ZoomLevel
16
--- SECTION: Figure Caption ---
شكل 3.32: إضافة مكون Map (الخريطة)
--- SECTION: Instructional Text ---
عند تشغيل التطبيق النهائي على هاتفك المحمول، يظهر مكون الخريطة في موقع المعلم المحدد، وستضيف في الدرس التالي الإحداثيات برمجيًا بناءً على هذا الموقع.
--- SECTION: Page Footer ---
وزارة التعليم
Ministry of Education
149
2025 - 1447
--- VISUAL CONTEXT ---
**FIGURE**: شكل 3.32: إضافة مكون Map (الخريطة)
Description: A screenshot of the MIT App Inventor development environment, illustrating the process of adding and configuring a Map component. The interface is divided into several panels: 'Palette' on the left, 'Viewer' (simulating a phone screen) in the center, and 'Components' and 'Properties' on the right. The simulated phone screen displays an application named 'Al Masmak' with an image of a historical building and a map icon at the bottom. Numbered indicators highlight specific elements: 1 points to the 'Map' component in the 'Maps' section of the 'Palette'. 2 points to 'Map1' under 'Components'. 3 points to 'Height: Fill parent' in 'Properties'. 4 points to 'Width: Fill parent' in 'Properties'. 5 points to the 'ShowZoom' checkbox (checked) in 'Properties'. 6 points to 'ZoomLevel: 16' in 'Properties'.
Table Structure:
Headers: N/A
Rows:
Calculation needed: N/A
X-axis: N/A
Y-axis: N/A
Data: The screenshot shows the visual layout and configuration options for a map component within a mobile application development environment. It highlights the selection of the map component, its inclusion in the app's component tree, and various properties such as geographical center coordinates, pan/zoom enablement, and zoom level.
Key Values: Map component selected in Palette (1), Map1 component in Components list (2), CenterFromString: 42.358144, -71.093612, EnablePan: true, EnableRotation: false, EnableZoom: true, Height: Fill parent (3), Width: Fill parent (4), LocationSensor: None, MapType: Roads, Rotation: 0.0, ScaleUnits: Metric, ShowCompass: false, ShowScale: false, ShowUser: false, ShowZoom: true (5), ZoomLevel: 16 (6), Phone size: (506,320), App name on phone: Al Masmak
Context: This figure serves as a visual guide for users learning to develop mobile applications with MIT App Inventor. It specifically demonstrates how to integrate and configure a map feature, showing the user interface elements and property settings involved in this process. The numbered annotations guide the user's attention to key steps and settings.
🎴 بطاقات تعليمية للمراجعة
عدد البطاقات: 4 بطاقة لهذه الصفحة
ما هو الغرض من مكون Map (الخريطة) في MIT App Inventor؟
الإجابة: إضافة خريطة تفاعلية إلى تطبيق الجوال لعرض مواقع جغرافية محددة.
الشرح: يُستخدم مكون الخريطة لدمج خرائط تفاعلية في التطبيقات، مما يسمح للمستخدمين برؤية المواقع والتنقل بينها.
تلميح: فكر في المكون الذي يسمح بعرض المواقع الجغرافية في التطبيق.
التصنيف: تعريف | المستوى: سهل
ما هي خاصية CenterFromString في مكون الخريطة، وما القيمة الموضحة لها؟
الإجابة: خاصية CenterFromString تحدد الإحداثيات الجغرافية (خط الطول وخط العرض) للمركز الأولي للخريطة. القيمة الموضحة هي '42.358144, -71.093612'.
الشرح: تُستخدم هذه الخاصية لتعيين الموقع الجغرافي الذي يظهر في مركز الخريطة عند تشغيل التطبيق.
تلميح: فكر في الخاصية التي تحدد النقطة التي تظهر في وسط الخريطة عند فتحها.
التصنيف: مفهوم جوهري | المستوى: متوسط
اذكر خاصيتين من خصائص مكون الخريطة التي تتحكم في تفاعل المستخدم معها.
الإجابة: خاصية EnablePan (تمكين التمرير) وخاصية EnableZoom (تمكين التكبير/التصغير).
الشرح: تسمح هذه الخصائص للمطور بتحديد ما إذا كان المستخدم سيتمكن من تحريك الخريطة (Pan) أو تكبيرها وتصغيرها (Zoom) باستخدام أصابعه.
تلميح: ابحث في الخصائص التي تبدأ بكلمة 'Enable' والتي تسمح للمستخدم بالتحكم في عرض الخريطة.
التصنيف: مفهوم جوهري | المستوى: متوسط
ما الفرق بين خاصيتي Height و Width عندما تكون قيمتهما 'Fill parent'؟
الإجابة: عندما تكون قيمة الخاصيتين 'Fill parent'، فإن مكون الخريطة سيملأ كامل المساحة المتاحة له داخل العنصر الحاوي (الوالد) من حيث الارتفاع والعرض.
الشرح: 'Fill parent' هي قيمة تخطيط شائعة تجعل المكون يأخذ أقصى حجم ممكن ضمن الحدود المخصصة له في التصميم، مما يضمن استغلال المساحة بشكل كامل.
تلميح: فكر في معنى 'Fill parent' وكيف يؤثر على حجم المكون داخل واجهة التطبيق.
التصنيف: فرق بين مفهومين | المستوى: صعب