{"id":133781,"student_id":3525,"content":"{\"files\":{\"src/appinventor/ai_appinventor/IND310/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AppName\\\":\\\"IND310\\\",\\\"Title\\\":\\\"Map\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"HorizontalArrangement1\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Uuid\\\":\\\"-106296652\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"ListPicker1\\\",\\\"$Type\\\":\\\"ListPicker\\\",\\\"$Version\\\":\\\"9\\\",\\\"Text\\\":\\\"\\\\u8d77\\\\u9ede\\\",\\\"Uuid\\\":\\\"-858736982\\\"},{\\\"$Name\\\":\\\"ListPicker2\\\",\\\"$Type\\\":\\\"ListPicker\\\",\\\"$Version\\\":\\\"9\\\",\\\"Text\\\":\\\"\\\\u76ee\\\\u7684\\\\u5730\\\",\\\"Uuid\\\":\\\"925829813\\\"}]},{\\\"$Name\\\":\\\"Label1\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"Text\\\":\\\"\\\\u6a19\\\\u7c641\\\\u6587\\\\u5b57\\\",\\\"Uuid\\\":\\\"-1651631244\\\"},{\\\"$Name\\\":\\\"Map1\\\",\\\"$Type\\\":\\\"Map\\\",\\\"$Version\\\":\\\"3\\\",\\\"CenterFromString\\\":\\\"25.039987, 121.5101476\\\",\\\"Height\\\":\\\"-2\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-1298287243\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Marker1\\\",\\\"$Type\\\":\\\"Marker\\\",\\\"$Version\\\":\\\"2\\\",\\\"Latitude\\\":\\\"42.35879761294287\\\",\\\"Longitude\\\":\\\"-71.08720779418947\\\",\\\"Uuid\\\":\\\"-995503355\\\"},{\\\"$Name\\\":\\\"Marker2\\\",\\\"$Type\\\":\\\"Marker\\\",\\\"$Version\\\":\\\"2\\\",\\\"Latitude\\\":\\\"42.36006607480819\\\",\\\"Longitude\\\":\\\"-71.08858108520509\\\",\\\"Uuid\\\":\\\"-835843540\\\"}]}]}}\\n|#\",\"src/appinventor/ai_appinventor/IND310/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"Yuo$9v}:NZ*=9wrT,_Uu\\\" collapsed=\\\"true\\\" x=\\\"-291\\\" y=\\\"-484\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" instance_name=\\\"ListPicker2\\\" event_name=\\\"AfterPicking\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker2\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"93axMOl=;i,]j9WK@\\\\!R.\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker2\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"KeAAh$)bR3#H5WDj%x9n\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker2\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"W.BgKexej7M?(jEu,e\\\\!U\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"logic_compare\\\" id=\\\"4\\\\!68@;{`*4.2MH/D`N_O\\\" inline=\\\"false\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"_B]vP750(kzV.)hP.^Dk\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"`lK@6MDMGh7tWGTY,8A#\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker2\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\",o/\\\\!1d~~:~^}hgq8eW/1\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker2\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"G4-yEF+U]r?/p(9@J)ql\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"aoPlq_~?im6:-g`zD9mu\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\".Wk059Z]Q4]suvrw1dez\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e兩地距離為:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"(4K^j$XI$JJ$D@BJg*kJ\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker2\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"=%0*_rLYh=%[1WJ3n{K9\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"/8H[tJdnEOZ)T^YvHJV_\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" method_name=\\\"SetLocation\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker2\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"Hh3Q@F/YxZjeyjwJU{QP\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"QGjO7=aYw0N%GOTq^okg\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"7,YSv(uuXHczd}0X@J:3\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal location\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"{IE(XUL:N7eVVxc,B=g8\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\",B[8=I/F]W(/d(Og~/-]\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"+\\\\!4C8Te;@T:%is:-30YK\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"/V-g4\\\\!*s\\\\!r]^`!8geh!b\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"?qL?h#iT9Kd3*O!C]$on\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal location\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"hnhNc?;6~xW,m6~q4PUk\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"A67An.,*RX.rxm#q/.nH\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e2\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"]bjgd@{K?B:H!aiZ*qK)\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text_join\\\" id=\\\"R-HB?`\\\\!a^thGm0LDcS=W\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"/E`(dy3gMRAFz?HOI(3q\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e兩地距離為:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"gJc;Gwg?HZ[uL9_[~v[6\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" method_name=\\\"DistanceToPoint\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker2\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"\\\\!Wit@\\\\!AGQMn(%.*AQTP=\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" set_or_get=\\\"get\\\" property_name=\\\"Latitude\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eLatitude\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"`!m@gQsZ:c^[QL4:[E2b\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" set_or_get=\\\"get\\\" property_name=\\\"Longitude\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eLongitude\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"e::@(f=1\\\\!N$DhSr-//MG\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003em\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"EJ!**a\\\\!wh$(d(#rG60hg\\\" collapsed=\\\"true\\\" x=\\\"-112\\\" y=\\\"-427\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" instance_name=\\\"ListPicker1\\\" event_name=\\\"AfterPicking\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"2bnkUk`xDH\\\\!g^,1_iEbC\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"vLfLLN=ID*[82gT._Wp)\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"Nq(2Yv8/A61d/#3g=urB\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Marker\\\" method_name=\\\"SetLocation\\\" is_generic=\\\"false\\\" instance_name=\\\"Marker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eMarker1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"H[[%+pSMOT!6V3rPnDUu\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"(cSW`(iUH@]9:F_cs\\\\!./\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"RKQ{VS)c2V:SJ?]4cQ#M\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal location\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"=cqrx]5^9Aoyk*]*~h2^\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"]sx*M/L8D)RDa7pDHaZ~\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"\\\\!p2z{bqJ7FJ1R}Rx[]:1\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"#Dr}u-,[}zB#WXquZh1/\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"mnX%-MMV1yR:29\\\\!`ek{z\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal location\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"Z,IW)~fn%mBNU]+%q*;A\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"nt$T~.1L\\\\!%ybZ-EWo3fz\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e2\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"qeQGW:fjOzT^0zSZ-z~]\\\" collapsed=\\\"true\\\" x=\\\"-266\\\" y=\\\"-341\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003elocation\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\";9fVu$:A?Z]PGx)nYR:t\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"C[M\\\\!ZKa?:K6q!5[QJ}*3\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"4\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"6l9ew4C79_icIMx~%tv1\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e25.0399887\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"_?6SMjP8umJkO11EIg4a\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e25.044078\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"WJ#;P8UqJfp)oPt^z0t)\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e25.0493497\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"F]hGIhiUv,3#Gu_*#u`q\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e25.0382125\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"G/[U8vhI=yUo,!Ohms,l\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"4\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"EO5yMa?XgMV,*H;7nJ1w\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e121.5101476\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"3TN3;WgL`EW7Lg+4!gyq\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e121.5038003\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"4BpfKi9X2feT$_VJ^*mf\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e121.5045594\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"m1~Dh/g]hPb^Uz^1{{d8\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e121.5032205\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"ZY;AF%a8rWdjX1ruw!{{\\\" collapsed=\\\"true\\\" x=\\\"-140\\\" y=\\\"-244\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003ename\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"ovWC:!Ly4@-57(aW-jan\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"4\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"Y^JeRA!+$4/@hcq(dnc1\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e總統府\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"3N~9eIWxQ0mL2;tlc:I[\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e西門町\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"`/,pc`8!I?Vb8c]1$:;P\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e捷運北門站\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"}R4nqSJUGQM:ICAtv}dB\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e龍山寺\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/IND310/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.IND310.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def g$location (call-yail-primitive make-yail-list (*list-for-runtime* (call-yail-primitive make-yail-list (*list-for-runtime* \\\"25.0399887\\\" \\\"25.044078\\\" \\\"25.0493497\\\" \\\"25.0382125\\\" ) '(any any any any ) \\\"make a list\\\") (call-yail-primitive make-yail-list (*list-for-runtime* \\\"121.5101476\\\" \\\"121.5038003\\\" \\\"121.5045594\\\" \\\"121.5032205\\\" ) '(any any any any ) \\\"make a list\\\") ) '(any any ) \\\"make a list\\\"))\\n(def g$name (call-yail-primitive make-yail-list (*list-for-runtime* \\\"\\\\u7e3d\\\\u7d71\\\\u5e9c\\\" \\\"\\\\u897f\\\\u9580\\\\u753a\\\" \\\"\\\\u6377\\\\u904b\\\\u5317\\\\u9580\\\\u7ad9\\\" \\\"\\\\u9f8d\\\\u5c71\\\\u5bfa\\\" ) '(any any any any ) \\\"make a list\\\"))\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AppName \\\"IND310\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"Map\\\" 'text)\\n)\\n\\n;;; HorizontalArrangement1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement1 \\n)\\n\\n;;; ListPicker1\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.ListPicker ListPicker1 \\n(set-and-coerce-property! 'ListPicker1 'Text \\\"\\\\u8d77\\\\u9ede\\\" 'text)\\n\\n)\\n\\n(define-event ListPicker1 AfterPicking()(set-this-form)\\n (set-and-coerce-property! 'ListPicker1 'Text (get-property 'ListPicker1 'Selection) 'text)(call-component-method 'Marker1 'SetLocation (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (get-var g$location) (get-property 'ListPicker1 'SelectionIndex)) '(list number) \\\"select list item\\\") 1) '(list number) \\\"select list item\\\") (call-yail-primitive yail-list-get-item (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (get-var g$location) (get-property 'ListPicker1 'SelectionIndex)) '(list number) \\\"select list item\\\") 2) '(list number) \\\"select list item\\\")) '(number number)))\\n;;; ListPicker2\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.ListPicker ListPicker2 \\n(set-and-coerce-property! 'ListPicker2 'Text \\\"\\\\u76ee\\\\u7684\\\\u5730\\\" 'text)\\n\\n)\\n\\n(define-event ListPicker2 AfterPicking()(set-this-form)\\n (set-and-coerce-property! 'ListPicker2 'Text (get-property 'ListPicker2 'Selection) 'text)(if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'ListPicker1 'Selection) (get-property 'ListPicker2 'Selection)) '(any any) \\\"=\\\") (begin (set-and-coerce-property! 'Marker2 'Visible #f 'boolean)(set-and-coerce-property! 'Label1 'Text \\\"\\\\u5169\\\\u5730\\\\u8ddd\\\\u96e2\\\\u70ba:\\\" 'text)) (begin (set-and-coerce-property! 'Marker2 'Visible #t 'boolean)(call-component-method 'Marker2 'SetLocation (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (get-var g$location) (get-property 'ListPicker1 'SelectionIndex)) '(list number) \\\"select list item\\\") 1) '(list number) \\\"select list item\\\") (call-yail-primitive yail-list-get-item (*list-for-runtime* (call-yail-primitive yail-list-get-item (*list-for-runtime* (get-var g$location) (get-property 'ListPicker1 'SelectionIndex)) '(list number) \\\"select list item\\\") 2) '(list number) \\\"select list item\\\")) '(number number))(set-and-coerce-property! 'Label1 'Text (call-yail-primitive string-append (*list-for-runtime* \\\"\\\\u5169\\\\u5730\\\\u8ddd\\\\u96e2\\\\u70ba:\\\" (call-component-method 'Marker2 'DistanceToPoint (*list-for-runtime* (get-property 'Marker1 'Latitude) (get-property 'Marker1 'Longitude)) '(number number)) \\\"m\\\" ) '(text text text ) \\\"join\\\") 'text))))\\n;;; Label1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label1 \\n(set-and-coerce-property! 'Label1 'Text \\\"\\\\u6a19\\\\u7c641\\\\u6587\\\\u5b57\\\" 'text)\\n\\n)\\n\\n;;; Map1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Map Map1 \\n(set-and-coerce-property! 'Map1 'CenterFromString \\\"25.039987, 121.5101476\\\" 'text)\\n\\n(set-and-coerce-property! 'Map1 'Height -2 'number)\\n\\n(set-and-coerce-property! 'Map1 'Width -2 'number)\\n\\n)\\n\\n;;; Marker1\\n\\n(add-component Map1 com.google.appinventor.components.runtime.Marker Marker1 \\n(set-and-coerce-property! 'Marker1 'Latitude 42.35879761294287 'number)\\n\\n(set-and-coerce-property! 'Marker1 'Longitude -71.08720779418947 'number)\\n\\n)\\n\\n;;; Marker2\\n\\n(add-component Map1 com.google.appinventor.components.runtime.Marker Marker2 \\n(set-and-coerce-property! 'Marker2 'Latitude 42.36006607480819 'number)\\n\\n(set-and-coerce-property! 'Marker2 'Longitude -71.08858108520509 'number)\\n\\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"IND310\\\",\\\"Icon\\\":\\\"\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2020-03-15T09:18:39.091+08:00","updated_at":"2020-03-15T10:12:48.834+08:00","name":"IND310","language":"appinventor","screenshot":{"url":null},"parent_id":133592,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":101,"hashid":"36ysn4rk","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
繁中
简中
English
日本語
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦