org.swixml.contrib.gmap
Class MapLookup

java.lang.Object
  extended by org.swixml.contrib.gmap.MapLookup

public class MapLookup
extends java.lang.Object

MapLookup

http://code.google.com/apis/maps/documentation/staticmaps/index.html

Since:
Apr 16, 2008, 10:55:50 PM
Version:
1.0
Author:
Nazmul Idris

Nested Class Summary
static class MapLookup.MarkerUtils
          markers=40.702147,-74.015794,blues|40.711614,-74.012318,greeng&key=MAPS_API_KEY
 
Field Summary
static java.lang.String CENTER_KEY
           
static java.lang.String GMAP_LICENSE_KEY
           
static java.lang.String GMAP_STATIC_URI
           
static java.lang.String GMAP_STATIC_URI_V2
           
static java.lang.String MARKER_SEPARATOR
           
static java.lang.String MARKERS_KEY
           
static int SIZE_DEFAULT
           
static java.lang.String SIZE_KEY
           
static java.lang.String SIZE_SEPARATOR
           
static int ZOOM_DEFAULT
           
static java.lang.String ZOOM_KEY
           
 
Constructor Summary
MapLookup()
           
 
Method Summary
 java.lang.String getLicenseKey()
           
 java.lang.String getMap(double lat, double lon, int sizeW, int sizeH, int zoom, MapMarker... markers)
           
 java.lang.String getURI(double lat, double lon, int sizeW, int sizeH, int zoom, MapMarker... markers)
           
 void setLicenseKey(java.lang.String lic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GMAP_STATIC_URI

public static final java.lang.String GMAP_STATIC_URI
See Also:
Constant Field Values

GMAP_STATIC_URI_V2

public static final java.lang.String GMAP_STATIC_URI_V2
See Also:
Constant Field Values

GMAP_LICENSE_KEY

public static final java.lang.String GMAP_LICENSE_KEY
See Also:
Constant Field Values

CENTER_KEY

public static final java.lang.String CENTER_KEY
See Also:
Constant Field Values

ZOOM_KEY

public static final java.lang.String ZOOM_KEY
See Also:
Constant Field Values

ZOOM_DEFAULT

public static final int ZOOM_DEFAULT
See Also:
Constant Field Values

SIZE_KEY

public static final java.lang.String SIZE_KEY
See Also:
Constant Field Values

SIZE_SEPARATOR

public static final java.lang.String SIZE_SEPARATOR
See Also:
Constant Field Values

SIZE_DEFAULT

public static final int SIZE_DEFAULT
See Also:
Constant Field Values

MARKER_SEPARATOR

public static final java.lang.String MARKER_SEPARATOR
See Also:
Constant Field Values

MARKERS_KEY

public static final java.lang.String MARKERS_KEY
See Also:
Constant Field Values
Constructor Detail

MapLookup

public MapLookup()
Method Detail

getLicenseKey

public java.lang.String getLicenseKey()

setLicenseKey

public void setLicenseKey(java.lang.String lic)

getMap

public java.lang.String getMap(double lat,
                               double lon,
                               int sizeW,
                               int sizeH,
                               int zoom,
                               MapMarker... markers)

getURI

public java.lang.String getURI(double lat,
                               double lon,
                               int sizeW,
                               int sizeH,
                               int zoom,
                               MapMarker... markers)


Copyright © 2011. All Rights Reserved.