images by free.in.th images by free.in.th images by free.in.th images by free.in.th images by free.in.th images by free.in.th images by free.in.th

วันอาทิตย์ที่ 4 กันยายน พ.ศ. 2554

[Tech &Tips] GoogleMap

การทำ GoogleMap มาใส่เว็บหรือBlogs



วิธีการทำ 
1.ให้เข้าไปในเว็บGoogleMap  http://maps.google.co.th/maps?hl=th&tab=ll
2.สมัครเป็นสมาชิกGooglemap แล้ว login 
3.ให้เราเลือกตำแหน่งที่อยู่ของเรา เมื่อได้แล้วให้ปักหมุดไว้ แล้วกดปุ่มบันทึกทางด้านซ้ายมือ
4.ให้กดที่ปุ่ม  ตรงมุมบนขวามือแล้วเลือก copy code จากช่องวางHTML เพื่อฝังในเว็บไซต์
อันนี้ code ตัวอย่างที่ทำครับ

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.th/maps/ms?msa=0&amp;msid=205582661206314266705.0004abdadd38bf848132c&amp;hl=th&amp;ie=UTF8&amp;ll=7.55208,99.6175&amp;spn=0,0&amp;vpsrc=6&amp;output=embed"></iframe><br /><small>ดู <a href="http://maps.google.co.th/maps/ms?msa=0&amp;msid=205582661206314266705.0004abdadd38bf848132c&amp;hl=th&amp;ie=UTF8&amp;ll=7.55208,99.6175&amp;spn=0,0&amp;vpsrc=6&amp;source=embed" style="color:#0000FF;text-align:left">ไม่มีชื่อ</a> ในแผนที่ขนาดใหญ่กว่า</small>


5.นำ Code ไปไว้ในตำแหน่งที่ต้องการให้แสดง ถ้าเป็นblogger ให้เรา เข้าไปที่ การออกแบบ>>เพิ่ม Gadget>>HTML/จาวาสคริปต์ แล้ว เอาcode ไปวางก็เป็นอันเสร็จ
     By.....Kochai......

ไม่มีความคิดเห็น:

แสดงความคิดเห็น