Class GMapState

java.lang.Object
com.webmethods.caf.faces.data.gmap.GMapState
All Implemented Interfaces:
Serializable

public class GMapState extends Object implements Serializable
Data model for a GMap control.
See Also:
  • Field Details

    • m_latitude

      protected double m_latitude
      Latitude of map center.
    • m_longitude

      protected double m_longitude
      Longitude of map center.
    • m_zoom

      protected int m_zoom
      Map zoom level, from 1 (global level) to 20 or so (street level).
    • m_type

      protected String m_type
      Map type. One of "MAP_TYPE_NORMAL", "MAP_TYPE_SATELLITE", or "MAP_TYPE_HYBRID".
  • Constructor Details

    • GMapState

      public GMapState()
  • Method Details

    • getLatitude

      public double getLatitude()
      Latitude of map center.
    • setLatitude

      public void setLatitude(double latitude)
      Latitude of map center.
    • getLongitude

      public double getLongitude()
      Longitude of map center.
    • setLongitude

      public void setLongitude(double longitude)
      Longitude of map center.
    • getZoom

      public int getZoom()
      Map zoom level, from 1 (global level) to 20 or so (street level).
    • setZoom

      public void setZoom(int zoom)
      Map zoom level, from 1 (global level) to 20 or so (street level).
    • getType

      public String getType()
      Map type. One of "MAP_TYPE_NORMAL", "MAP_TYPE_SATELLITE", or "MAP_TYPE_HYBRID".
    • setType

      public void setType(String type)
      Map type. One of "MAP_TYPE_NORMAL", "MAP_TYPE_SATELLITE", or "MAP_TYPE_HYBRID".