Ejemplo n.º 1
0
 /**
  * mapTypes Array of GMapType Array of map types to be used by this map. By default,
  * G_DEFAULT_MAP_TYPES is used. You can use this option to restrict the set of predefined map
  * types that is displayed on the map, or to pass your own map types to the map. See also
  * GMap2.addMapType().
  */
 public GMapType[] getMapTypes() {
   return (GMapType[])
       JavaScriptObjectHelper.getAttributeAsJavaScriptObjectArray(this, "mapTypes");
 }
Ejemplo n.º 2
0
 /**
  * size GSize Sets the size in pixels of the map. The container that is passed to the map
  * constructor will be resized to the given size. By default, the map will assume the size of its
  * container.
  */
 public GSize getSize() {
   return (GSize) JavaScriptObjectHelper.getAttributeAsJavaScriptObject(this, "size");
 }
Ejemplo n.º 3
0
 /**
  * mapTypes Array of GMapType Array of map types to be used by this map. By default,
  * G_DEFAULT_MAP_TYPES is used. You can use this option to restrict the set of predefined map
  * types that is displayed on the map, or to pass your own map types to the map. See also
  * GMap2.addMapType().
  */
 public void setMapTypes(GMapType[] array) {
   JavaScriptObjectHelper.setAttribute(this, "mapTypes", array);
 }
Ejemplo n.º 4
0
 /**
  * size GSize Sets the size in pixels of the map. The container that is passed to the map
  * constructor will be resized to the given size. By default, the map will assume the size of its
  * container.
  */
 public void setSize(GSize size) {
   JavaScriptObjectHelper.setAttribute(this, "size", size);
 }