Googib's Blog GoogleMap & Excel Step by Step

GoogleMap,Google,Map,GoogleMapAPI,Mapapi,excel 2003

Posts Tagged ‘map.getZoom()

Class GMap2 –> Map State

leave a comment »

Methods ในกกลุ่มนี้ใช้สำหรับการ Returns ค่าต่างๆของแผนที่ออกมาให้เราทราบเช่น Returns ค่า การ Zoom ของแผนที่ Returns ค่า พิกัด ตรงกลางของแผนที่ มี Methods ต่างๆดังนี้

  1. isLoaded()
    คืนค่า True เมื่อแผนที่ที่เราสร้างขึ้นมานั้นสามารถ Load ขึ้นมาแสดงได้ วิธีใช้คือ
    ——————————————————
    map.isLoaded()
    —————————————————— 
  2. getCenter()
    รายละเอียด:: จะคืนค่า พิกัดเส้นรุ้ง,พิกัดเส้นแวง( Lat,Lng ) ตรงกลางของแผนที่ ที่แสดงออกมา วิธีใช้คือ
    ——————————————————
    map.getCenter()
    ——————————————————
    gmarker_simple
    Read the rest of this entry »

Written by GooGib

พฤษภาคม 1, 2009 at 2:50 am

Follow

Get every new post delivered to your Inbox.