go to  ForumEasy.com   
JavaPro  
 
 
   Home  |  MyForum  |  FAQ  |  Archive    You are not logged in. [Login] or [Register]  
Forum Home » Google Maps API » Google Maps API Tutorial -- Map's Basic State/Attributes
Email To Friend  |   Set Alert To This Topic Rewarding Points Availabe: 0 (What's this) New Topic  |   Post Reply
Author Topic: Google Maps API Tutorial -- Map's Basic State/Attributes
WebSpider
member
offline   
 
posts: 147
joined: 06/29/2006
from: Seattle, WA
  posted on: 06/22/2009 04:14:06 PM    Edit  |   Quote  |   Report 
Google Maps API Tutorial -- Map's Basic State/Attributes
Basic State

Each map contains a number of basic attributes that may be inspected:
  • Initialized?: isLoaded():Boolean -- Returns true if the map was initialized by setCenter() since it was created.

  • View point: getCenter():GLatLng -- Returns the geographical center point of the map view.

  • Dimensions: getBounds():GLatLngBounds -- Returns the visible rectangular region of the map view in geographical coordinates.

  • -------------: getSize():GSize -- Returns the size of the map view in pixels.

  • Zoom Level: getZoom():Number -- Returns the current zoom level (0~19).

  •  Profile | Reply Points Earned: 0

     
    Powered by ForumEasy © 2003-2005, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.