com.partnersoft.formats.google
Class GoogleMapMarker

java.lang.Object
  extended by com.partnersoft.formats.google.GoogleMapMarker

public class GoogleMapMarker
extends java.lang.Object

Data for a Google map marker.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Constructor Summary
GoogleMapMarker()
          Empty constructor
GoogleMapMarker(double longitude, double latitude, java.lang.String iconName, java.lang.String htmlData)
          Creates a new GoogleMapMarker object.
 
Method Summary
 java.lang.String getHtmlData()
           
 java.lang.String getIconName()
          Returns the name of the style to use for this marker, not the icon's url.
 double getLatitude()
           
 double getLongitude()
           
 void setHtmlData(java.lang.String htmlData)
           
 void setIconName(java.lang.String iconName)
          Sets the name of the style to use for this namer, not the icon's url.
 void setLatitude(double latitude)
           
 void setLongitude(double longitude)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapMarker

public GoogleMapMarker()
Empty constructor


GoogleMapMarker

public GoogleMapMarker(double longitude,
                       double latitude,
                       java.lang.String iconName,
                       java.lang.String htmlData)
Creates a new GoogleMapMarker object.

Parameters:
longitude -
latitude -
iconName - - The name of the style to draw this marker with. (Not the url)
htmlData -
Method Detail

getLongitude

public double getLongitude()
Returns:
the longitude

setLongitude

public void setLongitude(double longitude)
Parameters:
longitude - the longitude to set

getLatitude

public double getLatitude()
Returns:
the latitude

setLatitude

public void setLatitude(double latitude)
Parameters:
latitude - the latitude to set

getIconName

public java.lang.String getIconName()
Returns the name of the style to use for this marker, not the icon's url.

Returns:
the iconName

setIconName

public void setIconName(java.lang.String iconName)
Sets the name of the style to use for this namer, not the icon's url.

Parameters:
iconName - the iconName to set

getHtmlData

public java.lang.String getHtmlData()
Returns:
the htmlData

setHtmlData

public void setHtmlData(java.lang.String htmlData)
Parameters:
htmlData - the htmlData to set