com.partnersoft.formats.google
Class GoogleMapLib

java.lang.Object
  extended by com.partnersoft.formats.google.GoogleMapLib
All Implemented Interfaces:
Lib

public final class GoogleMapLib
extends java.lang.Object
implements Lib

Enumerations and static methods for use with creating Google Maps.

Reference at: http://code.google.com/apis/maps/documentation/

Author:
Rich Stepanski

Nested Class Summary
static class GoogleMapLib.CreationOptions
          Enumeration of options for Creating various file types using the GoogleMapBuilder.
static class GoogleMapLib.MapComponents
          Enumeration of options for items to add to a GoogleMap using the GoogleMapBuilder.
static class GoogleMapLib.MapOptions
          Enumeration of options for use Google map settings.
 
Method Summary
static java.lang.String createHtmlData(Naming<java.lang.Object> data)
          Generates an html table containing the passed Naming data.
static java.util.List<java.lang.String> listGoogleIconUrls()
          Returns a list of standard Google icon url Strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

listGoogleIconUrls

public static java.util.List<java.lang.String> listGoogleIconUrls()
Returns a list of standard Google icon url Strings. ie, http://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.png


createHtmlData

public static java.lang.String createHtmlData(Naming<java.lang.Object> data)
Generates an html table containing the passed Naming data. One row per key, value. Table enclosed in an html tag.

Map Marker info windows appear to only allow 8k of data. So, limit html to 8,000 characters.

Parameters:
data -
Returns: