Example #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");
 }
Example #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");
 }
Example #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);
 }
Example #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);
 }