|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTagSupport
com.lamatek.tags.google.GoogleMapPointTag
public class GoogleMapPointTag
GoogleMapPointTag This class represents a <googlemaps;point> tag. Developers should not subclass or override this class or it's methods.
| Constructor Summary | |
|---|---|
GoogleMapPointTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Overrides doEndTag() from TagSupport. |
int |
doStartTag()
Overrides doStartTag() from TagSupport. |
boolean |
geocode()
Starts the geocoding process if the longitude and latitude either: Have not been previously geocoded, or Have not been set. |
java.lang.String |
getAddress()
Returns the address used when creating this marker, or null if this point was created using an IP or longitude/latitude pair. |
java.lang.String |
getCity()
Returns the city used when creating this marker, or null if this point was created using an IP or longitude/latitude pair. |
java.lang.String |
getCountry()
Returns the ISO compliant 2-digit country code used when creating this marker, or null if this point was created using an IP or longitude/latitude pair. |
java.lang.String |
getId()
Returns the unique id for this point. |
java.lang.String |
getIp()
Returns the IP address used when creating this marker, or null if this point was created using a street address or longitude/latitude pair. |
double |
getLatitude()
Returns the latitude (in decimal form) for this point. |
double |
getLongitude()
Returns the longitude (in decimal form) for this point. |
java.lang.String |
getState()
Returns the state or province used when creating this marker, or null if this point was created using an IP or longitude/latitude pair. |
java.lang.String |
getZipcode()
Returns the zip or postal code used when creating this marker, or null if this point was created using an IP or longitude/latitude pair. |
void |
setAddress(java.lang.String address)
Sets the street address used to geocode the longitude/latitude. |
void |
setCenter(boolean center)
Sets this point as the initial centerpoint of the entire map. |
void |
setCity(java.lang.String city)
Sets the city name used to geocode the longitude/latitude. |
void |
setCountry(java.lang.String country)
Sets the ISO compliant 2-character country code used to geocode the longitude/latitude. |
void |
setId(java.lang.String id)
Sets the unique id for this point. |
void |
setIp(java.lang.String ip)
Sets the IP address used to geocode the longitude/latitude. |
void |
setLatitude(double latitude)
Sets the latitude (in decimal form) for this point. |
void |
setLatitudeAsString(java.lang.String value)
Attempts to set the latitude using a String, by converting it to a double. |
void |
setLongitude(double longitude)
Sets the longitude (in decimal form) for this point. |
void |
setLongitudeAsString(java.lang.String value)
Attempts to set the longitude using a String, by converting it to a double. |
void |
setState(java.lang.String state)
Sets the state or province used to geocode the longitude/latitude. |
void |
setZipcode(java.lang.String zipcode)
Sets the zip or postal used to geocode the longitude/latitude. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleMapPointTag()
| Method Detail |
|---|
public int doEndTag()
public boolean geocode()
public int doStartTag()
public void setCenter(boolean center)
center - True if the map should be centered around this point. False if not.public void setLatitude(double latitude)
latitude - The latitude (in decimal form)public void setLongitude(double longitude)
longitude - The longitude (in decimal form)public void setLatitudeAsString(java.lang.String value)
value - A valid latitude, specified as a String.public void setLongitudeAsString(java.lang.String value)
value - A valid longitude, specified as a String.public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address - A valid street address (i.e. 74 Connor Lane).public java.lang.String getCity()
public void setCity(java.lang.String city)
city - A valid city name.public java.lang.String getCountry()
public void setCountry(java.lang.String country)
country - A valid 2-character country code.public java.lang.String getIp()
public void setIp(java.lang.String ip)
ip - A valid ip address (i.e. 216.113.235.52).public java.lang.String getState()
public void setState(java.lang.String state)
state - A valid state or province.public java.lang.String getZipcode()
public void setZipcode(java.lang.String zipcode)
zipcode - A valid US ZIP or international postal code.public double getLatitude()
public double getLongitude()
public java.lang.String getId()
public void setId(java.lang.String id)
id - A unique id for this point.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||