go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Google Maps API Tutorial -- Map's Basic State/Attributes
 
Subject: Google Maps API Tutorial -- Map's Basic State/Attributes
Author: WebSpider
Posted on: 06/22/2009 04:14:06 PM

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).




  • References:

     


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