com.lamatek.tags.google
Class GoogleMapBlowupTag

java.lang.Object
  extended by TagSupport
      extended by com.lamatek.tags.google.GoogleMapBlowupTag

public class GoogleMapBlowupTag
extends TagSupport


Constructor Summary
GoogleMapBlowupTag()
           
 
Method Summary
 int doEndTag()
          Overrides doEndTag() from TagSupport.
 int doStartTag()
          Overrides doStartTag() from TagSupport.
 java.lang.String getMaptype()
          Returns the specified map type for this blowup map.
 int getZoom()
          Returns the desired zoom level for this blowup map.
 boolean isDisplay()
          Returns true if this map is set to initially display.
 void setDisplay(boolean display)
          Sets whether or not this blowup map should be initially displayed.
 void setMaptype(java.lang.String maptype)
          Sets the specified map type for this blowup map.
 void setZoom(int zoom)
          Sets the desired zoom level for this blowup map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapBlowupTag

public GoogleMapBlowupTag()
Method Detail

doStartTag

public int doStartTag()
Overrides doStartTag() from TagSupport. Developers should not override this method.


doEndTag

public int doEndTag()
Overrides doEndTag() from TagSupport. Developers should not override this method.


getMaptype

public java.lang.String getMaptype()
Returns the specified map type for this blowup map. Valid values are map, hybrid, satellite or null.

Returns:
A string that references the desired blowup map type or null (which defaults to the current view).

setMaptype

public void setMaptype(java.lang.String maptype)
Sets the specified map type for this blowup map. Valid values are map, hybrid, satellite or null.

Parameters:
maptype - A string that references the desired blowup map type or null (which defaults to the current view).

getZoom

public int getZoom()
Returns the desired zoom level for this blowup map.

Returns:
An int that denotes desired zoom level. Default is 1.

setZoom

public void setZoom(int zoom)
Sets the desired zoom level for this blowup map.

Parameters:
zoom - The desired zoom level.

setDisplay

public void setDisplay(boolean display)
Sets whether or not this blowup map should be initially displayed. If set to true then the map will be displayed. If set to false, the map will only display after the user has clicked on the parent marker.

Parameters:
display - True to display, false to require a click to display.

isDisplay

public boolean isDisplay()
Returns true if this map is set to initially display. Returns false otherwise.

Returns:
true or false.