org.swixml.contrib.gmap
Class MapMarker

java.lang.Object
  extended by org.swixml.contrib.gmap.MapMarker
All Implemented Interfaces:
java.io.Serializable

public class MapMarker
extends java.lang.Object
implements java.io.Serializable

{latitude} (required) specifies a latitudinal value with precision to 6 decimal places. {longitude} (required) specifies a longitudinal value with precision to 6 decimal places. {color} (optional) specifies a color from the set {red,blue,green}. {alpha-character} (optional) specifies a single lowercase alphabetic character from the set {a-z}.

An example marker declaration is of the form {latitude},{longitude},{color}{alpha-character}. Note in particular that the color and alpha-character values of the string are not separated by a comma. A sample marker declaration is shown below.

markers=40.702147,-74.015794,blues|40.711614,-74.012318,greeng&key=MAPS_API_KEY

See Also:
Serialized Form

Constructor Summary
MapMarker(double lat, double lon)
           
MapMarker(double lat, double lon, org.swixml.contrib.gmap.MapMarker.MarkerColor color, char alpha)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapMarker

public MapMarker(double lat,
                 double lon,
                 org.swixml.contrib.gmap.MapMarker.MarkerColor color,
                 char alpha)

MapMarker

public MapMarker(double lat,
                 double lon)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.